feat: use adguard in host mode
This commit is contained in:
@@ -3,20 +3,7 @@ services:
|
|||||||
container_name: adguardhome
|
container_name: adguardhome
|
||||||
image: adguard/adguardhome
|
image: adguard/adguardhome
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
network_mode: host
|
||||||
# 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"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./work:/opt/adguardhome/work
|
- ./work:/opt/adguardhome/work
|
||||||
- ./conf:/opt/adguardhome/conf
|
- ./conf:/opt/adguardhome/conf
|
||||||
|
|||||||
Reference in New Issue
Block a user