AdGuard Home - network_mode modifications.

This commit is contained in:
2025-06-08 05:13:40 -04:00
parent 03f6a061b7
commit 3e0d2963a5
+12 -9
View File
@@ -138,6 +138,8 @@ services:
volumes: volumes:
- ${DOCKER_VOLUME_CONFIG}/actual-budget:/data - ${DOCKER_VOLUME_CONFIG}/actual-budget:/data
adguard: adguard:
cap_add:
- NET_BIND_SERVICE
container_name: adguard container_name: adguard
environment: environment:
TZ: ${TZ} TZ: ${TZ}
@@ -155,15 +157,16 @@ services:
homepage.widget.url: http://adguard:80 homepage.widget.url: http://adguard:80
homepage.widget.username: admin homepage.widget.username: admin
homepage.widget.password: ${ADGUARD_PASSWORD} homepage.widget.password: ${ADGUARD_PASSWORD}
ports: network_mode: host
- "192.168.1.254:53:53/udp" # ports:
- "192.168.1.254:53:53/tcp" # - "192.168.1.254:53:53/udp"
- 3001:3000 # - "192.168.1.254:53:53/tcp"
- "192.168.1.254:446:443/tcp" # - 3001:3000
- 8008:80 # - "192.168.1.254:446:443/tcp"
- "192.168.1.254:853:853/tcp" # - 8008:80
- 67:67 # - "192.168.1.254:853:853/tcp"
- 688:68 # - 67:67
# - 688:68
restart: unless-stopped restart: unless-stopped
user: 1000:1000 user: 1000:1000
volumes: volumes: