-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplanet-so.yml
54 lines (53 loc) · 1.29 KB
/
planet-so.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
44
45
46
47
48
49
50
51
52
53
54
# Planet standalone yml file
services:
couchdb:
expose:
- 5984
image: treehouses/couchdb:2.3.1
ports:
- "2200:5984"
volumes:
- "/srv/planet/conf:/opt/couchdb/etc/local.d"
- "/srv/planet/data:/opt/couchdb/data"
- "/srv/planet/log:/opt/couchdb/var/log"
chatapi:
expose:
- 5000
image: treehouses/planet:chatapi-local
depends_on:
- couchdb
ports:
- "5000:5000"
environment:
- COUCHDB_HOST=http://couchdb:5984
#- COUCHDB_USER=admin
#- COUCHDB_PASS=admin
- 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"
- "/srv/planet/pwd:/usr/share/nginx/html/credentials"
- "/srv/planet/fs:/usr/share/nginx/html/fs"
#- "/srv/planet/conf.d:/etc/nginx/conf.d"
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"