add restart always key

This commit is contained in:
simon 2022-12-26 18:50:07 +07:00
parent 1c8faf712f
commit 3173cb8359
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ services:
nginx-proxy:
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: always
ports:
- 80:80
- 443:443
@ -16,6 +17,7 @@ services:
nginx-proxy-acme:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
restart: always
volumes:
- ./volume/nginx-proxy/certs:/etc/nginx/certs
- ./volume/nginx-proxy/vhost:/etc/nginx/vhost.d