-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 943 Bytes
/
docker-compose.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
version: '3'
services:
db:
image: couchdb
ports:
- "5984:5984"
- "4369:4369"
- "9100:9100"
environment:
- COUCHDB_USER=rob
- COUCHDB_PASSWORD=123456
db_init:
build: ./db-init
environment:
- COUCHDB_USER=rob
- COUCHDB_PASSWORD=123456
- COUCHDB_DBNAME=users
- COUCHDB_HOSTNAME=db
links:
- db
pip:
build: ./sample-pip
command: sh -c "npm i && npm run dev"
restart: on-failure
depends_on:
- db_init
links:
- db
ports:
- "3100:3100"
- "9329:9229"
environment:
- PGHOST=postgres
- DB_HOST=db
- SESSION_SECRET=trench
- APP_ENV=local
client:
build: ./sample-client
command: sh -c "npm i && npm run dev"
restart: on-failure
depends_on:
- pip
ports:
- "3200:3200"
- "9429:9229"
environment:
- SESSION_SECRET=trench
- APP_ENV=local