mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-04 07:45:46 +00:00
tests: standardize file structure & naming
This commit is contained in:
38
test/test_keepalive/test_keepalive.yml
Normal file
38
test/test_keepalive/test_keepalive.yml
Normal file
@ -0,0 +1,38 @@
|
||||
services:
|
||||
keepalive-disabled:
|
||||
image: web
|
||||
expose:
|
||||
- "80"
|
||||
environment:
|
||||
WEB_PORTS: 80
|
||||
VIRTUAL_HOST: keepalive-disabled.nginx-proxy.test
|
||||
labels:
|
||||
com.github.nginx-proxy.nginx-proxy.keepalive: "disabled"
|
||||
|
||||
keepalive-enabled:
|
||||
image: web
|
||||
expose:
|
||||
- "80"
|
||||
environment:
|
||||
WEB_PORTS: 80
|
||||
VIRTUAL_HOST: keepalive-enabled.nginx-proxy.test
|
||||
labels:
|
||||
com.github.nginx-proxy.nginx-proxy.keepalive: "64"
|
||||
|
||||
keepalive-auto:
|
||||
image: web
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 4
|
||||
expose:
|
||||
- "80"
|
||||
environment:
|
||||
WEB_PORTS: 80
|
||||
VIRTUAL_HOST: keepalive-auto.nginx-proxy.test
|
||||
|
||||
sut:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
environment:
|
||||
HTTPS_METHOD: nohttps
|
Reference in New Issue
Block a user