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

22 lines
431 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
[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