forked from BU-ISCIII/iskylims
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (38 loc) · 1021 Bytes
/
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
version: '3.3'
services:
db1:
image: mysql:8.0
container_name: db1
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_DATABASE: iSkyLIMS
MYSQL_USER : django
MYSQL_PASSWORD : djangopass
MYSQL_ROOT_PASSWORD: root
ports:
- 6606:3306
networks:
- developv2
volumes:
- db1:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
- /usr/share/zoneinfo:/usr/share/zoneinfo
web1:
build: .
container_name: iskylimsv2_app
command: python3 /opt/iSkyLIMS/manage.py runserver 0:8000
volumes:
- ./:/opt/iSkyLIMS
ports:
- "8000:8000"
networks:
- developv2
depends_on:
- db1
volumes:
- /etc/localtime:/etc/localtime:ro
- /usr/share/zoneinfo:/usr/share/zoneinfo
networks:
developv2:
volumes:
db1: