From 62deaec3eb00cfc3a33fa4e036393a9d214fa64e Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Tue, 8 Mar 2022 19:29:23 +0000 Subject: [PATCH] More NGINX hosts stuff --- routing/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/docker-compose.yml b/routing/docker-compose.yml index dab4671..1d5f9c2 100644 --- a/routing/docker-compose.yml +++ b/routing/docker-compose.yml @@ -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