More NGINX hosts stuff

This commit is contained in:
2022-03-08 19:29:23 +00:00
parent bbee1b0ae5
commit 62deaec3eb

View File

@@ -6,8 +6,6 @@ services:
container_name: nginx
restart: unless-stopped
command: nginx -c /config/nginx.conf
environment:
- HOST_IP=$(route -n | awk '/UG[ \t]/{print $2}')
volumes:
- /home/nick/configs/routing/nginx:/config
- /mnt/storage:/static:ro
@@ -16,6 +14,8 @@ services:
- 443:443
networks:
- proxy
extra_hosts:
- "host.docker.internal:host-gateway"
certbot:
image: certbot/dns-cloudflare