mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
34 lines
706 B
YAML
34 lines
706 B
YAML
|
services:
|
||
|
base:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "80"
|
||
|
VIRTUAL_HOST: "nginx-proxy.tld"
|
||
|
|
||
|
web1:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "80"
|
||
|
VIRTUAL_HOST: "web1.nginx-proxy.tld"
|
||
|
|
||
|
sub-web1:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "80"
|
||
|
VIRTUAL_HOST: "sub.web1.nginx-proxy.tld"
|
||
|
|
||
|
web2:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "80"
|
||
|
VIRTUAL_HOST: "web2.nginx-proxy.tld"
|
||
|
|
||
|
sut:
|
||
|
image: nginxproxy/nginx-proxy:test
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||
|
- ./certs:/etc/nginx/certs:ro
|
||
|
- ./acme_root:/usr/share/nginx/html:ro
|
||
|
environment:
|
||
|
DEBUG_ENDPOINT: "true"
|