2023-12-11 14:25:04 +01:00
|
|
|
version: "2"
|
2021-06-20 16:57:55 +02:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
services:
|
|
|
|
web1:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 81
|
|
|
|
VIRTUAL_HOST: web.nginx-proxy.tld
|
2021-06-20 16:57:55 +02:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web2:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "82"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 83
|
|
|
|
VIRTUAL_HOST: web.nginx-proxy.tld
|
2021-06-20 16:57:55 +02:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web3:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "83"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 83
|
|
|
|
VIRTUAL_HOST: web.nginx-proxy.tld
|
|
|
|
net: "none"
|
|
|
|
|
|
|
|
sut:
|
|
|
|
image: nginxproxy/nginx-proxy:test
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|