-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (60 loc) · 1.2 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
version: '3.8'
services:
bovitratoapi:
container_name: bovitrato_API
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
#ports:
# - "44309:80"
networks:
- mynet
web:
image: nginx:1.21.3-alpine
container_name: web_API
restart: unless-stopped
ports:
- "8080:8081"
- "80:80"
expose:
- "8080"
volumes:
- ./html:/var/www/html:rw
- ./nginx:/etc/nginx/conf.d:ro
- ./log:/var/log/nginx
networks:
- mynet
links:
- bovitratoapi
- php
php:
build:
context: .
dockerfile: php.dockerfile
container_name: php
restart: unless-stopped
environment:
- PHP_INI_MEMORY_LIMIT=256M
- PHP_INI_UPLOAD_FILESIZE=20M
- PHP_INI_POST_MAX_SIZE=20M
volumes:
- ./html:/var/www/html:rw
networks:
- mynet
db:
image: "mcr.microsoft.com/mssql/server"
container_name: db_mssql
restart: unless-stopped
environment:
SA_PASSWORD: "Your_password123"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"
volumes:
- ./mssql:/var/opt/mssql/data
networks:
- mynet
networks:
mynet:
driver: bridge