role-paperless-ngx/templates/paperless-ngx-redis.quadlet.j2

24 lines
461 B
Django/Jinja

[Unit]
Description=Paperless-ngx Redis
[Container]
ContainerName=paperless-ngx-redis
Image=docker.io/library/redis:{{ paperless_ngx_redis_version }}
Network=paperless.network
Volume=/var/paperless-ngx/redis:/data:rw
Label="traefik.enable=false"
[Service]
Restart=on-failure
# Restart Delay
RestartSec=30
# Allowed time for the service to start.
TimeoutStartSec=90
# Allowed time for the service to stop.
TimeoutStopSec=90
[Install]
WantedBy=default.target