forked from dna-seq/dna-seq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·42 lines (42 loc) · 1.13 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
version: '3'
services:
cromwell:
image: "quay.io/comp-bio-aging/cromwell:master"
volumes:
- ./data:/data
- ./config:/config
- /var/run/docker.sock:/var/run/docker.sock
command: ["/wait-for-it/wait-for-it.sh mysql-db:3306 -t 120 -- java -Dconfig.file=/config/cromwell/application.conf -jar /app/cromwell.jar server"]
ports:
- "8000:8000"
mysql-db:
image: "mysql:8"
environment:
- MYSQL_ROOT_PASSWORD=cromwell
- MYSQL_DATABASE=cromwell_db
volumes:
- ./config/mysql/:/docker-entrypoint-initdb.d
- ./config/my.cnf:/etc/mysql/my.cnf
- ./data/databases/mysql:/var/lib/mysql
- ./data/databases/mysql:/var/lib/mysql-files
ports:
- "3307:3306"
cap_add:
- ALL
cromwell-client:
image: quay.io/comp-bio-aging/cromwell-web:latest
environment:
- CROMWELL=http://cromwell:8000
ports:
- 8001:8001
volumes:
- /data:/data
- /etc/hosts:/etc/hosts
deploy:
placement:
constraints:
- node.role == manager
replicas: 1
mode: replicated
restart_policy:
condition: on-failure