|
@@ -1,9 +1,35 @@
|
|
|
|
+volumes:
|
|
|
|
+ nginx_conf:
|
|
|
|
+
|
|
|
|
+
|
|
services:
|
|
services:
|
|
sut:
|
|
sut:
|
|
|
|
+ profiles:
|
|
|
|
+ - singleContainer
|
|
image: nginxproxy/nginx-proxy:test
|
|
image: nginxproxy/nginx-proxy:test
|
|
volumes:
|
|
volumes:
|
|
- - /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
- - ./withdefault.certs:/etc/nginx/certs:ro
|
|
|
|
|
|
+ - &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
+ - &certs ./withdefault.certs:/etc/nginx/certs:ro
|
|
|
|
+
|
|
|
|
+ sut-dockergen:
|
|
|
|
+ profiles:
|
|
|
|
+ - separateContainers
|
|
|
|
+ image: nginxproxy/nginx-proxy:test-dockergen
|
|
|
|
+ volumes:
|
|
|
|
+ - &confVolume nginx_conf:/etc/nginx/conf.d
|
|
|
|
+ - *dockerSocket
|
|
|
|
+ - *certs
|
|
|
|
+
|
|
|
|
+ sut-nginx:
|
|
|
|
+ profiles:
|
|
|
|
+ - separateContainers
|
|
|
|
+ container_name: nginx-proxy
|
|
|
|
+ image: nginx:alpine
|
|
|
|
+ volumes:
|
|
|
|
+ - *confVolume
|
|
|
|
+ - *certs
|
|
|
|
+ labels:
|
|
|
|
+ - "com.github.nginx-proxy.nginx-proxy.nginx"
|
|
|
|
|
|
https-and-http:
|
|
https-and-http:
|
|
image: web
|
|
image: web
|
|
@@ -38,7 +64,7 @@ services:
|
|
environment:
|
|
environment:
|
|
WEB_PORTS: "84"
|
|
WEB_PORTS: "84"
|
|
VIRTUAL_HOST: missing-cert.nginx-proxy.test
|
|
VIRTUAL_HOST: missing-cert.nginx-proxy.test
|
|
-
|
|
|
|
|
|
+
|
|
missing-cert-default-untrusted:
|
|
missing-cert-default-untrusted:
|
|
image: web
|
|
image: web
|
|
expose:
|
|
expose:
|