From 372165067d2d12a8c5a8007f2eea973f86741bf4 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sat, 5 Jul 2025 17:03:02 +0100 Subject: [PATCH] Set NGINX to use the default network --- server/docker-compose.yml | 7 +++++-- server/open-ports.sh | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/server/docker-compose.yml b/server/docker-compose.yml index ad31c591..ffe6bf5c 100644 --- a/server/docker-compose.yml +++ b/server/docker-compose.yml @@ -9,7 +9,10 @@ services: image: "docker.io/jc21/nginx-proxy-manager:latest" restart: unless-stopped container_name: nginx-proxy-manager - network_mode: host + ports: + - "80:80" + - "81:81" + - "443:443" environment: # Uncomment this if IPv6 is not enabled on your host - DISABLE_IPV6=true # Uncomment this if IPv6 is not enabled on your host volumes: @@ -182,7 +185,7 @@ services: init: true restart: unless-stopped container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed. - network_mode: bridge + #network_mode: bridge volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed. - /var/run/docker.sock:/var/run/docker.sock:ro diff --git a/server/open-ports.sh b/server/open-ports.sh index d6f180fb..61d5fe42 100755 --- a/server/open-ports.sh +++ b/server/open-ports.sh @@ -10,9 +10,9 @@ upnpc -a $LOCAL_IP 443 443 tcp # NEXTCLOUD upnpc -a $LOCAL_IP 11000 11000 tcp -upnpc -a $LOCAL_IP 8080 8080 tcp # AIO -upnpc -a $LOCAL_IP 3478 3478 tcp # talk -upnpc -a $LOCAL_IP 3478 3478 udp # talk +#upnpc -a $LOCAL_IP 8080 8080 tcp # AIO +#upnpc -a $LOCAL_IP 3478 3478 tcp # talk +#upnpc -a $LOCAL_IP 3478 3478 udp # talk # GIT upnpc -a $LOCAL_IP 3001 3001 tcp