24 lines
525 B
Django/Jinja
24 lines
525 B
Django/Jinja
[Unit]
|
|
Description=Paperless-ngx Gotenberg
|
|
|
|
[Container]
|
|
ContainerName=paperless-ngx-gotenberg
|
|
Image=docker.io/gotenberg/gotenberg:{{ paperless_ngx_gotenberg_version }}
|
|
|
|
Network=paperless.network
|
|
|
|
Exec=gotenberg --chromium-disable-javascript=true --chromium-allow-list=file:///tmp/.*
|
|
|
|
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 |