-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (63 loc) · 1.13 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
60
61
62
63
64
65
66
67
68
69
version: '3.8'
networks:
laravel:
driver: bridge
volumes:
sqldata:
driver: local
services:
nginx:
build:
context: .docker
dockerfile: nginx/Dockerfile
container_name: nginx
ports:
- "8080:80"
- "9001:9001"
volumes:
- ./:/var/www/html:delegated
depends_on:
- php
networks:
- laravel
php:
build:
context: .docker
dockerfile: php/Dockerfile
container_name: php
volumes:
- ./:/var/www/html
ports:
- "9000:9000"
depends_on:
- mssql
networks:
- laravel
node:
build:
context: .docker
dockerfile: node/Dockerfile
container_name: node
volumes:
- ./:/var/www/html
depends_on:
- php
networks:
- laravel
mssql:
build:
context: .docker
dockerfile: mssql/Dockerfile
container_name: mssql
ports:
- '1433:1433'
environment:
MSSQL_DB: ${DB_DATABASE}
MSSQL_PID: "Developer"
MSSQL_USER: "SA"
MSSQL_SA_PASSWORD: ${DB_PASSWORD}
ACCEPT_EULA: 1
volumes:
- sqldata:/var/opt/mssql
networks:
- laravel