[nginx-proxy] Add restart
This commit is contained in:
parent
441c3c31f8
commit
3b632b77d5
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
@ -19,6 +20,7 @@ services:
|
||||||
container_name: dockergen
|
container_name: dockergen
|
||||||
command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl
|
command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl
|
||||||
/etc/nginx/conf.d/default.conf
|
/etc/nginx/conf.d/default.conf
|
||||||
|
restart: unless-stopped
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- nginx
|
- nginx
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -30,6 +32,7 @@ services:
|
||||||
|
|
||||||
acme-companion:
|
acme-companion:
|
||||||
image: nginxproxy/acme-companion
|
image: nginxproxy/acme-companion
|
||||||
|
restart: unless-stopped
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- nginx
|
- nginx
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue