41 lines
855 B
YAML
41 lines
855 B
YAML
volumes:
|
|
nginx_conf:
|
|
|
|
|
|
services:
|
|
sut:
|
|
profiles:
|
|
- singleContainer
|
|
image: nginxproxy/nginx-proxy:test
|
|
volumes:
|
|
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
|
environment: &nginxProxyEnv
|
|
HTTPS_METHOD: redirect
|
|
|
|
sut-dockergen:
|
|
profiles:
|
|
- separateContainers
|
|
image: nginxproxy/nginx-proxy:test-dockergen
|
|
volumes:
|
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
|
- *dockerSocket
|
|
environment: *nginxProxyEnv
|
|
|
|
sut-nginx:
|
|
profiles:
|
|
- separateContainers
|
|
container_name: nginx-proxy
|
|
image: nginx:alpine
|
|
volumes:
|
|
- *confVolume
|
|
labels:
|
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
|
|
|
http-only:
|
|
image: web
|
|
expose:
|
|
- "83"
|
|
environment:
|
|
WEB_PORTS: "83"
|
|
HTTPS_METHOD: nohttps
|
|
VIRTUAL_HOST: http-only.nginx-proxy.test
|