-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
71 lines (71 loc) · 1.32 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3"
services:
api:
build:
context: api
dockerfile: Dockerfile
restart: on-failure
depends_on:
- "db"
ports:
- "8080:80"
volumes:
- ./api/chalice-api:/chalice-api
environment:
DB_USERNAME: username
DB_PASSWORD: password
DB_HOST: db
DB_PORT: 5432
DB_NAME: cennznetdata
DB_SCHEMA: public
db:
image: postgres:9.6.9
restart: always
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
POSTGRES_DB: cennznetdata
volumes:
- ./api/ddl:/docker-entrypoint-initdb.d
ports:
- "5433:5432"
queue:
image: mongo:4.0
restart: always
ports:
- "27018:27017"
etl:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./etl-config.json:/etl/etl-config.json
depends_on:
- "db"
- "queue"
- "ws"
command: ./orc etl-config.json
container_name: explorer-etl
portal:
build:
context: portal
dockerfile: Dockerfile
restart:
always
ports:
- "3000:3000"
environment:
NODE_ENV: local
depends_on:
- "api"
- "ws"
ws:
build:
context: ws
dockerfile: Dockerfile
restart:
always
ports:
- "3001:3000"
environment:
NODE_ENV: local