test: test_acme_http_challenge_location separate container
This commit is contained in:
parent
a67aff92e9
commit
e736f84b87
3 changed files with 82 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
volumes:
|
||||
nginx_conf:
|
||||
|
||||
services:
|
||||
web1:
|
||||
image: web
|
||||
|
@ -36,6 +39,8 @@ services:
|
|||
ACME_HTTP_CHALLENGE_LOCATION: "true"
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
environment:
|
||||
ACME_HTTP_CHALLENGE_LOCATION: "false"
|
||||
|
@ -43,3 +48,26 @@ services:
|
|||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
|
||||
sutnginx:
|
||||
profiles:
|
||||
- separateContainers
|
||||
container_name: nginx-proxy
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- nginx_conf:/etc/nginx/conf.d:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
labels:
|
||||
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||
|
||||
sutdockergen:
|
||||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
environment:
|
||||
ACME_HTTP_CHALLENGE_LOCATION: "false"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- nginx_conf:/etc/nginx/conf.d
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
volumes:
|
||||
nginx_conf:
|
||||
|
||||
services:
|
||||
web1:
|
||||
image: web
|
||||
|
@ -36,8 +39,31 @@ services:
|
|||
ACME_HTTP_CHALLENGE_LOCATION: "false"
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
|
||||
sutnginx:
|
||||
profiles:
|
||||
- separateContainers
|
||||
container_name: nginx-proxy
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- nginx_conf:/etc/nginx/conf.d:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
labels:
|
||||
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||
|
||||
sutdockergen:
|
||||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- nginx_conf:/etc/nginx/conf.d
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
volumes:
|
||||
nginx_conf:
|
||||
|
||||
services:
|
||||
web1:
|
||||
image: web
|
||||
|
@ -17,6 +20,8 @@ services:
|
|||
HTTPS_METHOD: noredirect
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
environment:
|
||||
ACME_HTTP_CHALLENGE_LOCATION: "legacy"
|
||||
|
@ -24,3 +29,26 @@ services:
|
|||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
|
||||
sutnginx:
|
||||
profiles:
|
||||
- separateContainers
|
||||
container_name: nginx-proxy
|
||||
image: nginx:alpine
|
||||
labels:
|
||||
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||
volumes:
|
||||
- nginx_conf:/etc/nginx/conf.d:ro
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
- ./acme_root:/usr/share/nginx/html:ro
|
||||
|
||||
sutdockergen:
|
||||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
environment:
|
||||
ACME_HTTP_CHALLENGE_LOCATION: "legacy"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- nginx_conf:/etc/nginx/conf.d
|
||||
- ./certs:/etc/nginx/certs:ro
|
||||
|
|
Loading…
Reference in a new issue