Set NGINX to use the default network

This commit is contained in:
2025-07-05 17:03:02 +01:00
parent f1b81ce513
commit 372165067d
2 changed files with 8 additions and 5 deletions

View File

@@ -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