Files
ignition-pi4/quadlets/pihole/unbound-redis.container
T

29 lines
734 B
INI

[Unit]
Description=Redis container
After=unbound-redis-socket.container
Requires=unbound-redis-socket.container
[Container]
AutoUpdate=registry
Command=CMD redis-server /usr/local/etc/redis/redis.conf
ContainerName=unbound-redis
Environment=TZ=Europe/Zurich
HealthCheck=CMD /bin/bash -c '[[ -S /usr/local/unbound/cachedb.d/redis.sock ]]'
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=docker.io/redis:alpine
Label=io.containers.autoupdate=registry
Pod=pihole.pod
StartWithPod=true
Timezone=Europe/Zurich
Volume=unbound-redis-data.volume:/data
Volume=unbound-redis-conf.volume:/usr/local/etc/redis
Volume=unbound-redis-cache.volume:/usr/local/unbound/cachedb.d
[Service]
Restart=always
[Install]
WantedBy=default.target