2023-09-20 19:47:16 +00:00
|
|
|
[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
|
|
|
|
|
2023-09-22 09:45:47 +00:00
|
|
|
Label="traefik.enable=false"
|
|
|
|
|
2023-09-20 19:47:16 +00:00
|
|
|
[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
|