22 lines
495 B
Django/Jinja
22 lines
495 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/.*
|
|
|
|
[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 |