24 lines
810 B
YAML
24 lines
810 B
YAML
# AdGuard Home - DNS ad blocker
|
|
# Web UI: http://192.168.68.100:9080
|
|
# DNS: 192.168.68.100:53, 100.72.55.21:53
|
|
#
|
|
# IMPORTANT: This container binds DNS to 192.168.68.100 (configured in AdGuardHome.yaml).
|
|
# The host MUST have a static IP of 192.168.68.100 on eno1, otherwise AdGuard will
|
|
# crash-loop with "bind: cannot assign requested address".
|
|
# See README.md for static IP setup and troubleshooting.
|
|
services:
|
|
adguard:
|
|
image: adguard/adguardhome
|
|
container_name: AdGuard
|
|
mem_limit: 2g
|
|
cpu_shares: 768
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- /home/vish/docker/adguard/config:/opt/adguardhome/conf:rw
|
|
- /home/vish/docker/adguard/data:/opt/adguardhome/work:rw
|
|
environment:
|
|
TZ: America/Los_Angeles
|