-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yaml
63 lines (63 loc) · 1.21 KB
/
docker-compose.yaml
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
version: '3'
services:
mysql:
image: mysql:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: mypassword
MYSQL_DATABASE: bioos
ports:
- "3306:3306"
volumes:
- mysql-storage:/var/lib/mysql
networks:
- bioos
apiserver:
build:
context: .
dockerfile: build/apiserver/Dockerfile
restart: always
environment:
MYSQL_HOST: mysql
MYSQL_USERNAME: root
MYSQL_PASSWORD: mypassword
MYSQL_PORT: "3306"
MYSQL_DB: bioos
command: ["--config", "/app/conf/apiserver-mysql.yaml", "--log-level", "debug"]
ports:
- "8888:8888"
- "50051:50051"
volumes:
- bioos-storage:/app/conf/fs
depends_on:
- mysql
networks:
- bioos
web:
build:
context: .
dockerfile: build/web/Dockerfile
restart: always
depends_on:
- apiserver
ports:
- "8901:80"
networks:
- bioos
cromwell:
image: broadinstitute/cromwell:85
restart: always
command:
- server
ports:
- "8000:8000"
volumes:
- bioos-storage:/nfs/bioos-storage
networks:
- bioos
networks:
bioos:
driver: bridge
volumes:
bioos-storage:
mysql-storage: