-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevelopment-compose.yml
58 lines (57 loc) · 1.32 KB
/
development-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
56
57
58
version: '2'
services:
big-structure:
build:
context: ./big-structure/
environment:
- POSTGRES_PASSWORD
- EVOEF2_BINARY_PATH
- DFIRE2_FOLDER_PATH
- ROSETTA_BINARY_PATH
- AGGRESCAN3D_SCRIPT_PATH
- GUNICORN_WORKERS
- APP_PORT
- MAX_RUN_TIME
depends_on:
- redis
ports:
- "${APP_PORT}:${APP_PORT}"
restart: always
volumes:
- ./big-structure:/app
- ./dependencies_for_de-stress:/dependencies_for_de-stress
database:
build:
context: ./database/
environment:
- POSTGRES_PASSWORD
restart: always
rq-worker:
build:
context: ./big-structure/
environment:
- POSTGRES_PASSWORD
- EVOEF2_BINARY_PATH
- DFIRE2_FOLDER_PATH
- ROSETTA_BINARY_PATH
- AGGRESCAN3D_SCRIPT_PATH
- MAX_RUN_TIME
depends_on:
- big-structure
- redis
restart: always
volumes:
- ./big-structure:/app
- ./dependencies_for_de-stress:/dependencies_for_de-stress
command: rq worker --url redis://redis:6379 --disable-job-desc-logging
redis:
image: redis
dashboard:
image: eoranged/rq-dashboard
environment:
- RQ_DASHBOARD_REDIS_URL
- RQ_DASHBOARD_PORT
depends_on:
- redis
ports:
- "${RQ_DASHBOARD_PORT}:${RQ_DASHBOARD_PORT}"