-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-os-latest.yml
72 lines (66 loc) · 1.4 KB
/
docker-compose-os-latest.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
#For Openstack
version: "3.7"
services:
irida_web:
restart: always
build:
context: ./docker-svc/irida
dockerfile: Dockerfile
container_name: irida_web
depends_on:
- irida_mysql
ports:
- "8080:8080"
volumes:
- irida_web_data:/data/irida
irida_mysql:
restart: always
image: mysql:8.0
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
ports:
- "3306:3306"
cap_add:
- SYS_NICE # CAP_SYS_NICE
irida_galaxy:
restart: always
build:
context: ./docker-svc/galaxy
dockerfile: Dockerfile
container_name: irida_galaxy
environment:
GALAXY_CONFIG_BRAND: "COMBAT-TB Workbench"
GALAXY_LOGGING: full
volumes:
- irida_web_data:/data/irida
- irida_galaxy_data:/export
ports:
- "9090:80"
- "21:21"
- "8800:8800"
- "9002:9002"
#this is for openstack
networks:
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450
volumes:
irida_mysql_data:
irida_web_data:
driver_opts:
type: none
device: /data
o: bind
irida_galaxy_data:
driver_opts:
type: none
device: /data
o: bind