We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd19c0b commit 07428f2Copy full SHA for 07428f2
docker-compose.yml
@@ -1,9 +1,8 @@
1
-version: '2'
2
-
3
# most of the configuration based on instruction from:
4
# https://github.com/nginx-proxy/acme-companion/blob/main/docs/Docker-Compose.md
5
# and
6
# https://hub.docker.com/r/nginxproxy/acme-companion#:~:text=and%20443.-,Basic%20usage,-(with%20the%20nginx
+# just rewritten to docker compose config format version 3
7
8
services:
9
nginx-proxy:
@@ -18,6 +17,7 @@ services:
18
17
- "443:443"
19
volumes:
20
- html:/usr/share/nginx/html
+ - vhost:/etc/nginx/vhost.d
21
- certs:/etc/nginx/certs:ro
22
- /var/run/docker.sock:/tmp/docker.sock:ro
23
restart: unless-stopped
@@ -50,6 +50,7 @@ services:
50
51
html:
52
certs:
53
+ vhost:
54
acme:
55
56
networks:
0 commit comments