-
Notifications
You must be signed in to change notification settings - Fork 0
/
planet.yml
43 lines (43 loc) · 913 Bytes
/
planet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
services:
couchdb:
expose:
- 5984
image: treehouses/couchdb:2.3.1
ports:
- "2200:5984"
chatapi:
expose:
- 5000
image: treehouses/planet:chatapi-local
depends_on:
- couchdb
ports:
- "5000:5000"
environment:
- COUCHDB_HOST=http://couchdb:5984
- SERVE_PORT=5000
env_file:
- .chat.env
db-init:
image: treehouses/planet:db-init-local
depends_on:
- couchdb
environment:
- COUCHDB_HOST=http://couchdb:5984
- COUCHDB_USER=admin
- COUCHDB_PASS=admin
planet:
image: treehouses/planet:local
ports:
- "80:80"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- MULTIPLE_IPS=true
- HOST_PROTOCOL=http
- DB_HOST=127.0.0.1
- DB_PORT=2200
- CENTER_ADDRESS=planet.earth.ole.org/db
depends_on:
- couchdb
version: "2"