|
@@ -1,3 +1,6 @@
|
|
|
|
+volumes:
|
|
|
|
+ nginx_conf:
|
|
|
|
+
|
|
services:
|
|
services:
|
|
web1:
|
|
web1:
|
|
image: web
|
|
image: web
|
|
@@ -36,6 +39,8 @@ services:
|
|
ACME_HTTP_CHALLENGE_LOCATION: "true"
|
|
ACME_HTTP_CHALLENGE_LOCATION: "true"
|
|
|
|
|
|
sut:
|
|
sut:
|
|
|
|
+ profiles:
|
|
|
|
+ - singleContainer
|
|
image: nginxproxy/nginx-proxy:test
|
|
image: nginxproxy/nginx-proxy:test
|
|
environment:
|
|
environment:
|
|
ACME_HTTP_CHALLENGE_LOCATION: "false"
|
|
ACME_HTTP_CHALLENGE_LOCATION: "false"
|
|
@@ -43,3 +48,26 @@ services:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- ./certs:/etc/nginx/certs:ro
|
|
- ./certs:/etc/nginx/certs:ro
|
|
- ./acme_root:/usr/share/nginx/html: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
|