|
@ -7,12 +7,10 @@ services: |
|
|
container_name: nginx |
|
|
container_name: nginx |
|
|
ports: |
|
|
ports: |
|
|
- "${REVERSEPROXY_HTTP_PORT:-80}:80" |
|
|
- "${REVERSEPROXY_HTTP_PORT:-80}:80" |
|
|
- "${REVERSEPROXY_HTTPS_PORT:-443}:443" |
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
- "nginx_conf:/etc/nginx/conf.d" |
|
|
- "nginx_conf:/etc/nginx/conf.d" |
|
|
- "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-gen: |
|
|
nginx-gen: |
|
|
restart: unless-stopped |
|
|
restart: unless-stopped |
|
|
image: btcpayserver/docker-gen:0.7.6 |
|
|
image: btcpayserver/docker-gen:0.7.6 |
|
@ -25,7 +23,6 @@ services: |
|
|
- "nginx_conf:/etc/nginx/conf.d" |
|
|
- "nginx_conf:/etc/nginx/conf.d" |
|
|
- "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" |
|
|
|
|
|
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 |
|
|
- btcpayserver |
|
|