-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (38 loc) · 1.06 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:
entry:
build:
context: .
dockerfile: docker/nginx/Dockerfile
restart: unless-stopped
ports:
- "7337:80"
app:
build:
context: .
dockerfile: docker/nanoforms/Dockerfile
command: bash -c "python manage.py migrate && gunicorn nanoforms.wsgi:application --timeout 43200 --bind 0.0.0.0:8000"
restart: unless-stopped
volumes:
- "${BASE_STORAGE_DIR}:${BASE_STORAGE_DIR}"
env_file:
- docker-compose.env
cromwell:
build:
context: .
dockerfile: docker/cromwell/Dockerfile
restart: unless-stopped
entrypoint: /bin/bash
command: '-c "cd ${BASE_STORAGE_DIR} && java -jar -Dconfig.file=/cromwell.conf /cromwell.jar server"'
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "${BASE_STORAGE_DIR}:${BASE_STORAGE_DIR}"
env_file:
- docker-compose.env
postgres:
image: postgres:10.1
restart: unless-stopped
volumes:
- "${BASE_STORAGE_DIR}/postgres-data:/var/lib/postgresql/data"
env_file:
- docker-compose.env