forked from BU-ISCIII/iskylims
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.57 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '3.4'
services:
db:
image: mysql:8.0
container_name: db
command: --default-authentication-plugin=mysql_native_password
restart: always
healthcheck:
test: ['CMD-SHELL', 'mysqladmin ping -h 127.0.0.1 --password="djangopass" --silent']
interval: 3s
retries: 5
start_period: 30s
environment:
MYSQL_DATABASE: iskylims_docker
MYSQL_USER : django
MYSQL_PASSWORD : djangopass
MYSQL_ROOT_PASSWORD: root
ports:
- 6606:3306
networks:
- develop_net
volumes:
- db_data_vol:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
- /usr/share/zoneinfo:/usr/share/zoneinfo
samba:
image: dperson/samba
container_name: samba
networks:
- develop_net
volumes:
- /etc/localtime:/etc/localtime:ro
- /usr/share/zoneinfo:/usr/share/zoneinfo
- ngs_data_vol:/mnt
command: '-S -s "ngs_data;/mnt/test_ngs_data;yes;yes;no;samba_user;none;none;ngs data samba share" -u "samba_user;sambapasswd" -p'
app:
build: .
container_name: iskylims_app
ports:
- "8001:8001"
networks:
- develop_net
depends_on:
db:
condition: service_healthy
volumes:
- /etc/localtime:/etc/localtime:ro
- /usr/share/zoneinfo:/usr/share/zoneinfo
networks:
develop_net:
volumes:
db_data_vol:
ngs_data_vol: