-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.dev.yaml
101 lines (92 loc) · 2.26 KB
/
docker-compose.dev.yaml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: '3'
services:
nginx:
build: Multi_Page_WebApp/services/nginx
ports:
- ${NGINX_PORT}:80
depends_on:
- flask_app
- panel_app
message_broker:
image: rabbitmq:3-management
ports:
- 5672:5672
- 15672:15672
message_dispatcher:
build:
context: Multi_Page_WebApp
dockerfile: services/message_dispatcher/Dockerfile
restart: on-failure
environment:
- BROKER_HOSTNAME=message_broker
depends_on:
- message_broker
python_worker:
build:
context: Multi_Page_WebApp
dockerfile: services/python_worker/Dockerfile
restart: on-failure
environment:
- BROKER_HOSTNAME=message_broker
depends_on:
- message_broker
- message_dispatcher
volumes:
- ./Multi_Page_WebApp/instance:/usr/src/app/instance
mosaic_worker:
build:
context: Multi_Page_WebApp
dockerfile: services/mosaic/Dockerfile
restart: on-failure
environment:
- BROKER_HOSTNAME=message_broker
depends_on:
- message_broker
- message_dispatcher
volumes:
- ./Multi_Page_WebApp/instance:/usr/src/app/instance
mosaix_worker:
build:
context: Multi_Page_WebApp
dockerfile: services/mosaix/Dockerfile
restart: on-failure
environment:
- BROKER_HOSTNAME=message_broker
depends_on:
- message_broker
- message_dispatcher
volumes:
- ./Multi_Page_WebApp/instance:/usr/src/app/instance
flask_app:
build:
context: Multi_Page_WebApp
dockerfile: services/flask/Dockerfile.dev
env_file: ${FLASK_CONFIG}
environment:
- BROKER_HOSTNAME=message_broker
image: netcdf_editor_flask_app:latest
expose:
- 5000
depends_on:
- message_broker
cap_add:
- SYS_PTRACE
entrypoint: flask run
volumes:
- ./Multi_Page_WebApp:/usr/src/app
panel_app:
build:
context: Multi_Page_WebApp
dockerfile: services/panel/Dockerfile.dev
env_file: ${PANEL_CONFIG}
environment:
- BROKER_HOSTNAME=message_broker
image: netcdf_editor_panel_app:latest
expose:
- 5006
depends_on:
- message_broker
volumes:
- ./Multi_Page_WebApp:/usr/src/app
volumes:
instance_storage: