forked from mwang87/MetabolomicsSpectrumResolver
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 878 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 878 Bytes
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
version: '3'
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: on-failure
command: /app/run_dev_server.sh
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: on-failure
depends_on:
- metabolomicsusi-redis
networks:
- default
- nginx-net
metabolomicsusi-redis:
container_name: metabolomicsusi-redis
image: redis
networks:
- default
restart: on-failure
networks:
nginx-net:
external:
name: nginx-net