-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (64 loc) · 1.53 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
70
version: '3.4'
services:
webapi: &conf
image: ${DOCKER_REGISTRY-}webapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:440;
build:
context: .
dockerfile: WebAPI/Dockerfile
ports:
- "440:440"
volumes:
- ./WebAPI/IsolatedStorage:/app/IsolatedStorage
webapi2:
<<: *conf
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:442;
ports:
- "442:442"
volumes:
- ./WebAPI/IsolatedStorage:/app/IsolatedStorage:ro
webapi3:
<<: *conf
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:441;
ports:
- "441:441"
volumes:
- ./WebAPI/IsolatedStorage:/app/IsolatedStorage:ro
mirror:
image: ${DOCKER_REGISTRY-}webapi
container_name: mirror
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:444;
ports:
- "444:444"
build:
context: .
dockerfile: WebAPI/Dockerfile
nginx:
depends_on:
- webapi
- webapi2
- webapi3
- mirror
#image: byjg/nginx-extras
image: macbre/nginx-http3:1.23.1
ports:
- "443:443/tcp"
- "443:443/udp"
- "80:80/tcp"
- "80:80/udp"
volumes:
- ./WebAPI/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./WebAPI/wwwroot:/home/static:ro
- ./WebAPI/nginx/For SSL/cert.crt:/etc/nginx/ssl/cert.crt:ro
- ./WebAPI/nginx/For SSL/private.key:/etc/nginx/ssl/private.key:ro
networks:
default:
name: mynet