forked from IntegralDefense/SIP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-DEV.yml
65 lines (60 loc) · 1.37 KB
/
docker-compose-DEV.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
version: '3'
services:
web-dev:
build:
context: ./services/web
dockerfile: Dockerfile-DEV
args:
- http_proxy
- https_proxy
networks:
- dev
restart: on-failure
volumes:
- './services/web:/usr/src/app'
links:
- db-dev:db
env_file:
- ./services/web/docker-DEV.env
depends_on:
- db-dev
db-dev:
build:
context: ./services/db
dockerfile: Dockerfile-DEV
args:
- http_proxy
- https_proxy
networks:
- dev
restart: on-failure
ports:
- 3307:3306
volumes:
- mysql-dev:/var/lib/mysql
env_file:
- ./services/db/docker-DEV.env
command: --explicit_defaults_for_timestamp
nginx-dev:
build:
context: ./services/nginx
dockerfile: Dockerfile-DEV
args:
- http_proxy
- https_proxy
networks:
- dev
restart: on-failure
ports:
- 8080:8080
- 4443:4443
links:
- web-dev:web
depends_on:
- web-dev
networks:
dev:
driver: bridge
volumes:
mysql-dev:
driver: local