-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (36 loc) · 1.12 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
version: "3.8"
services:
nginx:
image: nginx:mainline-alpine
container_name: nginx
restart: unless-stopped
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs/:/etc/nginx/
ports:
- "80:80"
- "443:443"
server1:
image: nginx:mainline-alpine
container_name: nginx2
restart: unless-stopped
volumes:
- ./html/server1.html:/usr/share/nginx/html/index.html
server2:
image: nginx:mainline-alpine
container_name: nginx3
restart: unless-stopped
volumes:
- ./html/server2.html:/usr/share/nginx/html/index.html
server3:
image: nginx:mainline-alpine
container_name: nginx4
restart: unless-stopped
volumes:
- ./html/server3.html:/usr/share/nginx/html/index.html
server4:
image: nginx:mainline-alpine
container_name: nginx5
restart: unless-stopped
volumes:
- ./html/server4.html:/usr/share/nginx/html/index.html