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