2023-12-11 14:25:04 +01:00
|
|
|
services:
|
|
|
|
web1:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "81"
|
|
|
|
VIRTUAL_HOST: "web1.nginx-proxy.tld"
|
2017-11-08 22:30:24 -05:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web2:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "81"
|
|
|
|
VIRTUAL_HOST: "web2.nginx-proxy.tld"
|
|
|
|
HSTS: "off"
|
2017-11-08 22:30:24 -05:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web3:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "81"
|
|
|
|
VIRTUAL_HOST: "web3.nginx-proxy.tld"
|
|
|
|
HSTS: "max-age=86400; includeSubDomains; preload"
|
2018-03-26 13:27:30 -04:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web4:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "81"
|
|
|
|
VIRTUAL_HOST: "web4.nginx-proxy.tld"
|
|
|
|
HSTS: "off"
|
|
|
|
HTTPS_METHOD: "noredirect"
|
2023-12-08 00:46:21 +01:00
|
|
|
|
2023-12-11 14:25:04 +01:00
|
|
|
web5:
|
|
|
|
image: web
|
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "81"
|
|
|
|
VIRTUAL_HOST: http3-vhost-enabled.nginx-proxy.tld
|
|
|
|
labels:
|
|
|
|
com.github.nginx-proxy.nginx-proxy.http3.enable: "true"
|
|
|
|
|
|
|
|
sut:
|
|
|
|
image: nginxproxy/nginx-proxy:test
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
- ./certs:/etc/nginx/certs:ro
|