[Unit] Description=AdGuard Home Wants=network-online.target After=network-online.target [Container] Image=docker.io/adguard/adguardhome AutoUpdate=registry ContainerName=adguard EnvironmentFile=/mnt/data/containers/adguard/.env.adguard Volume=/mnt/data/containers/adguard/work:/opt/adguardhome/work Volume=/mnt/data/containers/adguard/conf:/opt/adguardhome/conf PublishPort=53:53/tcp PublishPort=53:53/udp PublishPort=67:67/udp PublishPort=68:68/udp PublishPort=8021:8021 PublishPort=8031:3000 PublishPort=853:853 Label=homepage.group=Tech Label=homepage.name=AdGuard Label=homepage.icon=adguard.png Label=homepage.href=https://adguard.forest Label=homepage.description="DNS Block" [Service] Restart=always TimeoutStartSec=900 SuccessExitStatus=0 143 [Install] WantedBy=default.target