feat: use adguard in host mode
This commit is contained in:
@@ -3,20 +3,7 @@ services:
|
||||
container_name: adguardhome
|
||||
image: adguard/adguardhome
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# DNS Ports (Must remain directly exposed)
|
||||
- "192.168.0.41:53:53/tcp"
|
||||
- "192.168.0.41:53:53/udp"
|
||||
|
||||
# Web Interface Mapping
|
||||
# Format is "HOST_PORT:CONTAINER_PORT"
|
||||
- "8080:80/tcp" # Access UI via http://your-ip:8080
|
||||
- "3022:3000/tcp" # Required for the initial setup wizard
|
||||
|
||||
# DHCP Ports
|
||||
- "192.168.0.41:67:67/udp"
|
||||
- "192.168.0.41:68:68/udp"
|
||||
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./work:/opt/adguardhome/work
|
||||
- ./conf:/opt/adguardhome/conf
|
||||
|
||||
Reference in New Issue
Block a user