Initial commit
This commit is contained in:
38
quadlets/pihole/unbound.container
Normal file
38
quadlets/pihole/unbound.container
Normal file
@@ -0,0 +1,38 @@
|
||||
[Unit]
|
||||
Description=Unbound container
|
||||
After=unbound-redis.container
|
||||
Requires=unbound-redis.container
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
Command=CMD redis-server /usr/local/etc/redis/redis.conf
|
||||
ContainerName=unbound
|
||||
DNS=172.20.0.7
|
||||
Environment=TZ=Europe/Zurich
|
||||
Environment=GID=1001
|
||||
Environment=UID=1001
|
||||
Environment=UNBOUND_GID=1001
|
||||
Environment=UNBOUND_UID=1001
|
||||
HealthCheck=CMD /usr/local/unbound/sbin/healthcheck.sh
|
||||
HealthInterval=30s
|
||||
HealthTimeout=10s
|
||||
HealthRetries=5
|
||||
Image=docker.io/madnuttah/unbound:latest
|
||||
IP=172.20.0.7
|
||||
Network=pihole.network
|
||||
Pod=pihole.pod
|
||||
StartWithPod=true
|
||||
Timezone=Europe/Zurich
|
||||
Volume=redis-data.volume:/data
|
||||
Volume=unbound.volume:/usr/local/unbound
|
||||
Volume=unbound-conf.volume:/usr/local/unbound/conf.d
|
||||
Volume=unbound-iana.volume:/usr/local/unbound/iana.d
|
||||
Volume=unbound-log.volume:/usr/local/unbound/log.d
|
||||
Volume=unbound-zones.volume:/usr/local/unbound/zones.d
|
||||
Volume=unbound-cache.volume:/usr/local/unbound/cachedb.d/
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user