-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (71 loc) · 1.57 KB
/
docker-compose.yml
File metadata and controls
76 lines (71 loc) · 1.57 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
services:
metabolomicsusi-web:
build:
context: .
dockerfile: Dockerfile
container_name: metabolomicsusi-web
ports:
- "5087:5000"
volumes:
- ./tmp:/app/tmp:rw
- ./logs/:/app/logs:rw
networks:
- default
restart: always
command: /app/run_dev_server.sh
labels:
autoheal: true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/heartbeat"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
metabolomicsusi-api1:
build:
context: .
dockerfile: Dockerfile
container_name: metabolomicsusi-api1
ports:
- "5088:5000"
volumes:
- ./tmp:/app/tmp:rw
- ./logsapi/:/app/logs:rw
networks:
- default
restart: always
command: /app/run_dev_server.sh
labels:
autoheal: true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/heartbeat"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
metabolomicsusi-worker:
build:
context: .
dockerfile: Dockerfile
container_name: metabolomicsusi-worker
volumes:
- ./tmp:/app/tmp:rw
- ./logs:/app/logs:rw
command: /app/run_worker.sh
restart: always
depends_on:
- metabolomicsusi-redis
networks:
- default
- nginx-net
metabolomicsusi-redis:
container_name: metabolomicsusi-redis
#image: valkey/valkey:alpine3.20
image: redis:alpine
networks:
- default
restart: always
networks:
nginx-net:
name: nginx-net
external: true