[Unit] Description=Unbound container After=unbound.container Requires=unbound.container [Container] AutoUpdate=registry Command=CMD redis-server /usr/local/etc/redis/redis.conf ContainerName=pihole Environment=DNSMASQ_USER=pihole Environment=FTLCONF_LOCAL_IPV4=192.168.1.103 Environment=PIHOLE_DNS_=172.20.0.7#5335 Environment=PIHOLE_GID=1001 Environment=PIHOLE_UID=1001 Environment=VIRTUAL_HOST=pihole Environment=TZ=Europe/Zurich HealthCheck=CMD /usr/local/unbound/sbin/healthcheck.sh HealthInterval=30s HealthTimeout=10s HealthRetries=5 Image=docker.io/pihole/pihole:latest IP=172.20.0.6 Network=pihole.network Pod=pihole.pod Secret=webserver-password,type=env,target=FTLCONF_webserver_api_password StartWithPod=true Timezone=Europe/Zurich Volume=redis-data.volume:/data Volume=pihole-config.volume:/etc/pihole Volume=pihole-dnsmasq.volume:/etc/dnsmasq.d [Service] Restart=always [Install] WantedBy=default.target