1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2025-08-23 06:04:33 +02:00
nginx-proxy/test/test_http2/test_http2_global_disabled.yml
2024-12-22 20:27:24 +01:00

41 lines
847 B
YAML

volumes:
nginx_conf:
services:
http2-global-disabled:
image: web
expose:
- "80"
environment:
WEB_PORTS: 80
VIRTUAL_HOST: http2-global-disabled.nginx-proxy.tld
sut:
profiles:
- singleContainer
image: nginxproxy/nginx-proxy:test
volumes:
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
environment: &nginxProxyEnv
ENABLE_HTTP2: "false"
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"