add restart always key
This commit is contained in:
parent
1c8faf712f
commit
3173cb8359
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue