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:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sutnginx:
|
||||
profiles:
|
||||
|
|
|
@ -35,8 +35,7 @@ services:
|
|||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
|
|
|
@ -19,8 +19,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
nginx-proxy-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -24,8 +24,7 @@ services:
|
|||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
|
|
|
@ -17,8 +17,7 @@ services:
|
|||
profiles:
|
||||
- separateContainers
|
||||
image: nginxproxy/nginx-proxy:test-dockergen
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
|
|
|
@ -21,8 +21,7 @@ services:
|
|||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
- *certs
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -21,8 +21,7 @@ services:
|
|||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
- *certs
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -21,8 +21,7 @@ services:
|
|||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
- *certs
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -19,8 +19,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -19,8 +19,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -21,8 +21,7 @@ services:
|
|||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
- *certs
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -36,8 +36,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -27,8 +27,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -27,8 +27,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -27,8 +27,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -48,8 +48,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
networks:
|
||||
- net1
|
||||
|
||||
|
|
|
@ -55,8 +55,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
networks:
|
||||
<<: *nginxProxyNetworks
|
||||
networks: *nginxProxyNetworks
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -57,10 +57,8 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
networks:
|
||||
<<: *nginxProxyNetworks
|
||||
environment: *nginxProxyEnv
|
||||
networks: *nginxProxyNetworks
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -50,8 +50,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -28,8 +28,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -28,8 +28,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -28,8 +28,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -28,8 +28,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
environment:
|
||||
<<: *nginxProxyEnv
|
||||
environment: *nginxProxyEnv
|
||||
|
||||
sut-nginx:
|
||||
profiles:
|
||||
|
|
|
@ -29,8 +29,7 @@ services:
|
|||
volumes:
|
||||
- &confVolume nginx_conf:/etc/nginx/conf.d
|
||||
- *dockerSocket
|
||||
networks:
|
||||
<<: *nginxProxyNetworks
|
||||
networks: *nginxProxyNetworks
|
||||
|
||||
nginx-proxy-nginx:
|
||||
profiles:
|
||||
|
@ -41,8 +40,7 @@ services:
|
|||
- *confVolume
|
||||
labels:
|
||||
- "com.github.nginx-proxy.nginx-proxy.nginx"
|
||||
networks:
|
||||
<<: *nginxProxyNetworks
|
||||
networks: *nginxProxyNetworks
|
||||
|
||||
web1:
|
||||
image: web
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
volumes:
|
||||
nginx_conf:
|
||||
|
||||
|
||||
services:
|
||||
web1:
|
||||
image: web
|
||||
|
@ -25,6 +29,26 @@ services:
|
|||
network_mode: "none"
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
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:
|
||||
web:
|
||||
image: web
|
||||
|
@ -8,6 +12,26 @@ services:
|
|||
VIRTUAL_HOST: web.nginx-proxy.tld
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
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:
|
||||
web:
|
||||
image: web
|
||||
|
@ -9,6 +13,26 @@ services:
|
|||
network_mode: "none"
|
||||
|
||||
sut:
|
||||
profiles:
|
||||
- singleContainer
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
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