test: separate containers (contd)
This commit is contained in:
parent
7acf4780d5
commit
5ef2e31687
27 changed files with 101 additions and 55 deletions
|
@ -35,8 +35,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sutnginx:
|
sutnginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -35,8 +35,7 @@ services:
|
||||||
profiles:
|
profiles:
|
||||||
- separateContainers
|
- separateContainers
|
||||||
image: nginxproxy/nginx-proxy:test-dockergen
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
|
|
|
@ -19,8 +19,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
nginx-proxy-nginx:
|
nginx-proxy-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -24,8 +24,7 @@ services:
|
||||||
profiles:
|
profiles:
|
||||||
- separateContainers
|
- separateContainers
|
||||||
image: nginxproxy/nginx-proxy:test-dockergen
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
|
|
|
@ -17,8 +17,7 @@ services:
|
||||||
profiles:
|
profiles:
|
||||||
- separateContainers
|
- separateContainers
|
||||||
image: nginxproxy/nginx-proxy:test-dockergen
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
|
|
|
@ -21,8 +21,7 @@ services:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
- *certs
|
- *certs
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -21,8 +21,7 @@ services:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
- *certs
|
- *certs
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -21,8 +21,7 @@ services:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
- *certs
|
- *certs
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -19,8 +19,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -19,8 +19,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -21,8 +21,7 @@ services:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
- *certs
|
- *certs
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -36,8 +36,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -27,8 +27,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -27,8 +27,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -27,8 +27,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -48,8 +48,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
networks:
|
networks:
|
||||||
- net1
|
- net1
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
networks:
|
networks: *nginxProxyNetworks
|
||||||
<<: *nginxProxyNetworks
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -57,10 +57,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
networks: *nginxProxyNetworks
|
||||||
networks:
|
|
||||||
<<: *nginxProxyNetworks
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -50,8 +50,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -28,8 +28,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -28,8 +28,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -28,8 +28,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -28,8 +28,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
environment:
|
environment: *nginxProxyEnv
|
||||||
<<: *nginxProxyEnv
|
|
||||||
|
|
||||||
sut-nginx:
|
sut-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -29,8 +29,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
- *dockerSocket
|
- *dockerSocket
|
||||||
networks:
|
networks: *nginxProxyNetworks
|
||||||
<<: *nginxProxyNetworks
|
|
||||||
|
|
||||||
nginx-proxy-nginx:
|
nginx-proxy-nginx:
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -41,8 +40,7 @@ services:
|
||||||
- *confVolume
|
- *confVolume
|
||||||
labels:
|
labels:
|
||||||
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||||
networks:
|
networks: *nginxProxyNetworks
|
||||||
<<: *nginxProxyNetworks
|
|
||||||
|
|
||||||
web1:
|
web1:
|
||||||
image: web
|
image: web
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
volumes:
|
||||||
|
nginx_conf:
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web1:
|
web1:
|
||||||
image: web
|
image: web
|
||||||
|
@ -25,6 +29,26 @@ services:
|
||||||
network_mode: "none"
|
network_mode: "none"
|
||||||
|
|
||||||
sut:
|
sut:
|
||||||
|
profiles:
|
||||||
|
- singleContainer
|
||||||
image: nginxproxy/nginx-proxy:test
|
image: nginxproxy/nginx-proxy:test
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
|
||||||
|
sut-dockergen:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
|
volumes:
|
||||||
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
|
- *dockerSocket
|
||||||
|
|
||||||
|
sut-nginx:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
container_name: nginx-proxy
|
||||||
|
image: nginx:alpine
|
||||||
|
volumes:
|
||||||
|
- *confVolume
|
||||||
|
labels:
|
||||||
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
volumes:
|
||||||
|
nginx_conf:
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: web
|
image: web
|
||||||
|
@ -8,6 +12,26 @@ services:
|
||||||
VIRTUAL_HOST: web.nginx-proxy.tld
|
VIRTUAL_HOST: web.nginx-proxy.tld
|
||||||
|
|
||||||
sut:
|
sut:
|
||||||
|
profiles:
|
||||||
|
- singleContainer
|
||||||
image: nginxproxy/nginx-proxy:test
|
image: nginxproxy/nginx-proxy:test
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
|
||||||
|
sut-dockergen:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
|
volumes:
|
||||||
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
|
- *dockerSocket
|
||||||
|
|
||||||
|
sut-nginx:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
container_name: nginx-proxy
|
||||||
|
image: nginx:alpine
|
||||||
|
volumes:
|
||||||
|
- *confVolume
|
||||||
|
labels:
|
||||||
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
volumes:
|
||||||
|
nginx_conf:
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: web
|
image: web
|
||||||
|
@ -9,6 +13,26 @@ services:
|
||||||
network_mode: "none"
|
network_mode: "none"
|
||||||
|
|
||||||
sut:
|
sut:
|
||||||
|
profiles:
|
||||||
|
- singleContainer
|
||||||
image: nginxproxy/nginx-proxy:test
|
image: nginxproxy/nginx-proxy:test
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
|
||||||
|
sut-dockergen:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
image: nginxproxy/nginx-proxy:test-dockergen
|
||||||
|
volumes:
|
||||||
|
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||||
|
- *dockerSocket
|
||||||
|
|
||||||
|
sut-nginx:
|
||||||
|
profiles:
|
||||||
|
- separateContainers
|
||||||
|
container_name: nginx-proxy
|
||||||
|
image: nginx:alpine
|
||||||
|
volumes:
|
||||||
|
- *confVolume
|
||||||
|
labels:
|
||||||
|
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||||
|
|
Loading…
Reference in a new issue