nginx: set restart always
This commit is contained in:
parent
59e14c1575
commit
06396d783f
|
|
@ -4,6 +4,7 @@ services:
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
image: nginxproxy/nginx-proxy:alpine
|
image: nginxproxy/nginx-proxy:alpine
|
||||||
container_name: nginx-proxy
|
container_name: nginx-proxy
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
@ -18,6 +19,7 @@ services:
|
||||||
acme-companion:
|
acme-companion:
|
||||||
image: nginxproxy/acme-companion
|
image: nginxproxy/acme-companion
|
||||||
container_name: nginx-proxy-acme
|
container_name: nginx-proxy-acme
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
DEFAULT_EMAIL: ${EMAIL}
|
DEFAULT_EMAIL: ${EMAIL}
|
||||||
volumes_from:
|
volumes_from:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue