forked from MRCIEU/gwas2vcfweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (32 loc) · 936 Bytes
/
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
version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile.web
restart: always
ports:
- "80:80"
volumes:
- /data:/data
- /etc/timezone:/etc/timezone:ro
environment:
- NGINX_MAX_UPLOAD=750m
depends_on:
- cromwell
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
cromwell:
build:
context: .
dockerfile: Dockerfile.cromwell
restart: always
environment:
- JAVA_OPTS=-Ddocker.hash-lookup.enabled=false -Dsystem.max-concurrent-workflows=1 -Dbackend.providers.Local.config.root=/data/gwas2vcfweb/cromwell-executions -Dworkflow-options.workflow-log-dir=/data/gwas2vcfweb/cromwell-workflow-logs
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data:/data
- /etc/timezone:/etc/timezone:ro
command: ["server"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]