mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-08-20 20:44:37 +02:00
33 lines
721 B
YAML
33 lines
721 B
YAML
volumes:
|
|
nginx_conf:
|
|
|
|
|
|
services:
|
|
sut:
|
|
profiles:
|
|
- singleContainer
|
|
image: nginxproxy/nginx-proxy:test
|
|
volumes:
|
|
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- &customErrorPage ./50x.html:/usr/share/nginx/html/errors/50x.html:ro
|
|
|
|
sut-dockergen:
|
|
profiles:
|
|
- separateContainers
|
|
image: nginxproxy/nginx-proxy:test-dockergen
|
|
volumes:
|
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
|
- *dockerSocket
|
|
- *customErrorPage
|
|
|
|
sut-nginx:
|
|
profiles:
|
|
- separateContainers
|
|
container_name: nginx-proxy
|
|
image: nginx:alpine
|
|
volumes:
|
|
- *confVolume
|
|
- *customErrorPage
|
|
labels:
|
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|