Luigit
repositories / bugabinga.net

bugabinga.net

personal infrastructure for bugabinga!

owned by admin

modules/klops/quadlets/paperless.container

Raw
[Unit]
Description=Paperless-ngx Webserver
After=paperless_redis.service paperless_gotenberg.service paperless_tika.service
Requires=paperless_redis.service paperless_gotenberg.service paperless_tika.service

[Container]
ContainerName=paperless
Image=ghcr.io/paperless-ngx/paperless-ngx:latest
Pod=paperless.pod
AutoUpdate=registry
Volume=/data/Databases/paperless/data:/usr/src/paperless/data:z
Volume=/data/Databases/paperless/media:/usr/src/paperless/media:z
Volume=/data/Databases/paperless/export:/usr/src/paperless/export:z
Volume=/data/Databases/paperless/consume:/usr/src/paperless/consume:z
Environment=PAPERLESS_REDIS=redis://paperless_redis:6379
Environment=PAPERLESS_TIKA_ENABLED=1
Environment=PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://paperless_gotenberg:3000
Environment=PAPERLESS_TIKA_ENDPOINT=http://paperless_tika:9998
Environment=PAPERLESS_TIME_ZONE=Europe/Berlin
Environment=PAPERLESS_URL=https://docs.bugabinga.net
Environment=PAPERLESS_APP_TITLE=bugabinga docs
Environment=PAPERLESS_APP_LOGO=https://me.bugabinga.net/bugabinga.min.svg
EnvironmentFile=/data/Databases/paperless/paperless.env
Environment=PAPERLESS_USE_X_FORWARD_HOST=true
Environment=PAPERLESS_USE_X_FORWARD_PORT=true
Environment='PAPERLESS_PROXY_SSL_HEADER=["HTTP_X_FORWARDED_PROTO","https"]'
Environment=PAPERLESS_OCR_LANGUAGE=deu
Environment="PAPERLESS_OCR_LANGUAGES=deu eng pol"

[Service]
Restart=on-failure
TimeoutStartSec=300

[Install]
WantedBy=default.target