2024-12-07 20:15:44 +01:00
|
|
|
services:
|
2024-12-08 20:05:42 +01:00
|
|
|
base:
|
2024-12-07 20:15:44 +01:00
|
|
|
image: web
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "80"
|
|
|
|
VIRTUAL_HOST: "nginx-proxy.tld"
|
|
|
|
|
2024-12-08 20:05:42 +01:00
|
|
|
www:
|
2024-12-07 20:15:44 +01:00
|
|
|
image: web
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "80"
|
2024-12-08 20:05:42 +01:00
|
|
|
VIRTUAL_HOST: "www.nginx-proxy.tld"
|
2024-12-07 20:15:44 +01:00
|
|
|
|
2024-12-08 20:05:42 +01:00
|
|
|
sub-www:
|
2024-12-07 20:15:44 +01:00
|
|
|
image: web
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "80"
|
2024-12-08 20:05:42 +01:00
|
|
|
VIRTUAL_HOST: "subdomain.www.nginx-proxy.tld"
|
2024-12-07 20:15:44 +01:00
|
|
|
|
2024-12-08 20:05:42 +01:00
|
|
|
web1:
|
2024-12-07 20:15:44 +01:00
|
|
|
image: web
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: "80"
|
2024-12-08 20:05:42 +01:00
|
|
|
VIRTUAL_HOST: "web1.nginx-proxy.tld"
|
2024-12-07 20:15:44 +01:00
|
|
|
|
|
|
|
sut:
|
|
|
|
image: nginxproxy/nginx-proxy:test
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
2024-12-08 20:05:42 +01:00
|
|
|
- ./cert_selection:/etc/nginx/certs:ro
|
2024-12-07 20:15:44 +01:00
|
|
|
- ./acme_root:/usr/share/nginx/html:ro
|
|
|
|
environment:
|
|
|
|
DEBUG_ENDPOINT: "true"
|