-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.01 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
version: "3"
services:
redis:
image: redis:5.0.7-alpine
networks:
- eCorda-network
dashboard:
image: dataesr/dashboard-crawler:1.1
ports:
- 9181:9181
command: rq-dashboard -H redis
networks:
- eCorda-network
depends_on:
- redis
worker:
build: .
privileged: true
env_file:
- .env
command: >
/bin/sh -c "python3.8 manage.py run_worker"
environment:
APP_SETTINGS: application.server.config.DevelopmentConfig
networks:
- eCorda-network
depends_on:
- redis
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
web:
build: .
env_file:
- .env
privileged: true
ports:
- 5004:5000
command: python3.8 /src/manage.py run -h 0.0.0.0
environment:
FLASK_DEBUG: 1
APP_SETTINGS: application.server.config.DevelopmentConfig
networks:
- eCorda-network
depends_on:
- worker
networks:
eCorda-network:
driver: bridge