Browse Source

nginx does not have to restart if btcpayserver restart

feature/auto_ssh
nicolas.dorier 6 years ago
parent
commit
24d059d316
  1. 3
      docker-compose-generator/docker-fragments/nginx.yml

3
docker-compose-generator/docker-fragments/nginx.yml

@ -13,8 +13,6 @@ services:
- "nginx_vhost:/etc/nginx/vhost.d" - "nginx_vhost:/etc/nginx/vhost.d"
- "nginx_html:/usr/share/nginx/html" - "nginx_html:/usr/share/nginx/html"
- "nginx_certs:/etc/nginx/certs:ro" - "nginx_certs:/etc/nginx/certs:ro"
links:
- btcpayserver
nginx-gen: nginx-gen:
restart: unless-stopped restart: unless-stopped
@ -29,6 +27,7 @@ services:
- "nginx_certs:/etc/nginx/certs:ro" - "nginx_certs:/etc/nginx/certs:ro"
entrypoint: /usr/local/bin/docker-gen -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf entrypoint: /usr/local/bin/docker-gen -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
links: links:
- btcpayserver
- nginx - nginx
letsencrypt-nginx-proxy-companion: letsencrypt-nginx-proxy-companion:

Loading…
Cancel
Save