forked from e-mission/em-public-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 loc) · 862 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
version: "3"
services:
dashboard:
image: em-pub-dash-prod/frontend
build: frontend
depends_on:
- db
ports:
# DASH in numbers
- "3274:6060"
volumes:
- ./plots:/public/plots
networks:
- emission
notebook-server:
image: em-pub-dash-prod/viz-scripts
build:
context: viz_scripts
dockerfile: Dockerfile
args:
SERVER_IMAGE_TAG: ${SERVER_IMAGE_TAG}
depends_on:
- db
environment:
- DB_HOST=db
- WEB_SERVER_HOST=0.0.0.0
- CRON_MODE=TRUE
- STUDY_CONFIG=stage-program
ports:
# ipynb in numbers
- "47962:8888"
networks:
- emission
volumes:
- ./plots:/plots
db:
image: mongo:4.4.0
volumes:
- mongo-data:/data/db
networks:
- emission
networks:
emission:
volumes:
mongo-data: