
* Don't mount dh params as read only because that lets container fail in startup * Use pytest.sh from upstream to ensure correct container name * Remove renamed dh param test * Fix www redirect in case of wildcard host
26 lines
No EOL
535 B
YAML
26 lines
No EOL
535 B
YAML
# Webapp without https redirect (just serving http)
|
|
http:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: 81
|
|
VIRTUAL_HOST: web.nginx-proxy.tld,www.web.nginx-proxy.tld
|
|
HTTPS_METHOD: nohttps
|
|
|
|
# Webapp with https redirect
|
|
https:
|
|
image: web
|
|
expose:
|
|
- "82"
|
|
environment:
|
|
WEB_PORTS: 82
|
|
VIRTUAL_HOST: web2.nginx-proxy.tld,www.web2.nginx-proxy.tld
|
|
|
|
# Proxy
|
|
sut:
|
|
image: nginxproxy/nginx-proxy:test
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- ./test_ssl/certs:/etc/nginx/certs:ro
|
|
|