mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 21:59:50 +00:00
21 lines
529 B
Django/Jinja
21 lines
529 B
Django/Jinja
[Unit]
|
|
Description=Atlas Paperless private Gotenberg
|
|
|
|
[Container]
|
|
ContainerName=atlas-paperless-gotenberg
|
|
Image={{ atlas_paperless_gotenberg_image }}
|
|
Network=atlas-paperless.network
|
|
NetworkAlias=atlas-paperless-gotenberg
|
|
# Keep external content and JavaScript disabled for email/Office conversion.
|
|
Exec=gotenberg --chromium-disable-javascript=true --chromium-allow-list=^file:///tmp/.*
|
|
PodmanArgs=--memory=2g
|
|
NoNewPrivileges=true
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
TimeoutStartSec=900
|
|
|
|
[Install]
|
|
WantedBy=default.target
|