Set NGINX to use the default network
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user