-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-os.yml
80 lines (74 loc) · 1.95 KB
/
docker-compose-os.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#For OpenStack
version: "3.7"
services:
nginx:
restart: always
build:
context: ./docker-svc/nginx/
dockerfile: Dockerfile
container_name: nginx
ports:
- "80:80"
irida_web:
restart: always
image: quay.io/combat-tb/irida:v0.1.3
# build:
# context: ./docker-svc/irida
# dockerfile: Dockerfile
container_name: irida_web
depends_on:
- irida_mysql
ports:
- "8080:8080"
volumes:
# - irida_web_data:/data/irida
- /data/irida:/data/irida
irida_mysql:
restart: always
image: mysql:5.7.18
container_name: irida_mysql
environment:
MYSQL_ROOT_PASSWORD: rootpasswd
MYSQL_DATABASE: irida_db
MYSQL_USER: irida_user
MYSQL_PASSWORD: irida_passwd
command: mysqld --sql_mode=""
volumes:
# - irida_mysql_data:/var/lib/mysql
- /data/irida_mysql_data:/var/lib/mysql
ports:
- "3306:3306"
irida_galaxy:
restart: always
image: quay.io/combat-tb/galaxy:v0.1.3
# build:
# context: ./docker-svc/galaxy
# dockerfile: Dockerfile
container_name: irida_galaxy
environment:
GALAXY_CONFIG_BRAND: "COMBAT-TB Workbench"
# PROXY_PREFIX: /galaxy
# GALAXY_CONFIG_NGINX_X_ACCEL_REDIRECT_BASE: /galaxy/_x_accel_redirect
# GALAXY_CONFIG_NGINX_X_ARCHIVE_FILES_BASE: /galaxy/_x_accel_redirect
# GALAXY_CONFIG_NGINX_UPLOAD_PATH: /galaxy/_upload
GALAXY_LOGGING: full
volumes:
# - irida_web_data:/data/irida
# - irida_galaxy_data:/export
- /data/irida:/data/irida
- /data/irida_galaxy_data:/export
ports:
- "9090:80"
- "21:21"
- "8800:8800"
- "9002:9002"
# https://docs.openstack.org/project-deploy-guide/kolla-ansible/ocata/quickstart.html#build-container-images
networks:
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450
# volumes:
# irida_mysql_data:
# irida_web_data:
# irida_galaxy_data: