[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:
|
||||
image: nginx
|
||||
container_name: nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
@ -19,6 +20,7 @@ services:
|
|||
container_name: dockergen
|
||||
command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl
|
||||
/etc/nginx/conf.d/default.conf
|
||||
restart: unless-stopped
|
||||
volumes_from:
|
||||
- nginx
|
||||
volumes:
|
||||
|
@ -30,6 +32,7 @@ services:
|
|||
|
||||
acme-companion:
|
||||
image: nginxproxy/acme-companion
|
||||
restart: unless-stopped
|
||||
volumes_from:
|
||||
- nginx
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue