-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
115 lines (104 loc) · 2.24 KB
/
Copy pathdocker-compose.yml
File metadata and controls
115 lines (104 loc) · 2.24 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
x-worker: &worker
restart: unless-stopped
env_file:
- path: backend/.env
required: false
environment:
BROKER_URL: amqp://guest:guest@rabbitmq:5672/
develop:
watch:
- path: ./workers
action: rebuild
- path: ./backend
action: rebuild
depends_on:
rabbitmq:
condition: service_healthy
services:
rabbitmq:
image: rabbitmq:4-management
ports:
- "5672:5672"
- "15672:15672"
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 5s
timeout: 5s
retries: 12
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.local
develop:
watch:
- path: ./frontend
action: sync
target: /app
ignore:
- node_modules/
ports:
- "5173:5173"
env_file:
- path: ./frontend/.env
required: false
depends_on:
- backend
backend:
build:
context: .
dockerfile: backend/Dockerfile.local
develop:
watch:
- path: ./backend
action: sync
target: /app/backend
ports:
- "8001:8001"
env_file:
- path: backend/.env
required: false
environment:
BROKER_URL: amqp://guest:guest@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_healthy
worker-tocomo:
<<: *worker
build:
context: .
dockerfile: workers/tocomo/Dockerfile
worker-arcs:
<<: *worker
build:
context: .
dockerfile: workers/arcs/Dockerfile
worker-arcs-exp:
<<: *worker
build:
context: .
dockerfile: workers/arcs-exp/Dockerfile
worker-phpitz-reactive:
<<: *worker
build:
context: .
dockerfile: workers/phpitz-reactive/Dockerfile
worker-phpitz-solubility:
<<: *worker
build:
context: .
dockerfile: workers/phpitz-solubility/Dockerfile
worker-gibbs-minimization:
<<: *worker
build:
context: .
dockerfile: workers/gibbs-minimization/Dockerfile
worker-srk-vanlaar:
<<: *worker
build:
context: .
dockerfile: workers/srk-vanlaar/Dockerfile
worker-ccstoolkit:
<<: *worker
build:
context: .
dockerfile: workers/ccstoolkit/Dockerfile