mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-02-05 05:41:39 +01:00
33 lines
724 B
YAML
33 lines
724 B
YAML
services:
|
|
nginx-proxy:
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- ${PYTEST_MODULE_PATH}/cert_selection:/etc/nginx/certs:ro
|
|
- ${PYTEST_MODULE_PATH}/acme_root:/usr/share/nginx/html:ro
|
|
environment:
|
|
DEBUG_ENDPOINT: "true"
|
|
|
|
base:
|
|
image: web
|
|
environment:
|
|
WEB_PORTS: "80"
|
|
VIRTUAL_HOST: "nginx-proxy.tld"
|
|
|
|
www:
|
|
image: web
|
|
environment:
|
|
WEB_PORTS: "80"
|
|
VIRTUAL_HOST: "www.nginx-proxy.tld"
|
|
|
|
sub-www:
|
|
image: web
|
|
environment:
|
|
WEB_PORTS: "80"
|
|
VIRTUAL_HOST: "subdomain.www.nginx-proxy.tld"
|
|
|
|
web1:
|
|
image: web
|
|
environment:
|
|
WEB_PORTS: "80"
|
|
VIRTUAL_HOST: "web1.nginx-proxy.tld"
|