23 lines
633 B
YAML
23 lines
633 B
YAML
services:
|
|
adguardhome:
|
|
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"
|
|
|
|
volumes:
|
|
- ./work:/opt/adguardhome/work
|
|
- ./conf:/opt/adguardhome/conf
|