-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (50 loc) · 1.1 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
version: "3"
services:
redis:
image: redis:5.0.7-alpine
networks:
- patstat-network
dashboard:
image: dataesr/dashboard-crawler:1.1
ports:
- 9181:9181
command: rq-dashboard -H redis
networks:
- patstat-network
depends_on:
- redis
worker:
build: .
privileged: true
command: >
/bin/sh -c "python3.8 manage.py run_worker"
environment:
APP_SETTINGS: application.server.config.DevelopmentConfig
MOUNTED_VOLUME_TEST: '/volume_test/'
volumes:
- /run/media/julia/DATA/test/:/volume_test
networks:
- patstat-network
depends_on:
- redis
web:
build: .
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
MOUNTED_VOLUME_TEST: '/volume_test/'
volumes:
- /run/media/julia/DATA/test/:/volume_test
networks:
- patstat-network
depends_on:
- worker
networks:
patstat-network:
driver: bridge
volumes:
volume_test: