Initial commit

This commit is contained in:
2025-11-06 20:28:41 +01:00
commit 5fc4fbcef3
182 changed files with 4742 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
[Unit]
Description=Paperless container
After=gotenberg.container
After=paperless-database.container
After=paperless-redis.container
After=tika.container
Requires=gotenberg.container
Requires=paperless-database.container
Requires=paperless-redis.container
Requires=tika.container
[Container]
AutoUpdate=registry
ContainerName=paperless
Environment=PAPERLESS_CONSUMER_DELETE_DUPLICATES=1
Environment=PAPERLESS_DBHOST=paperless-database
Environment=PAPERLESS_OCR_LANGUAGE=fra
Environment=PAPERLESS_OCR_USER_ARGS='{"invalidate_digital_signatures": true}'
Environment=PAPERLESS_REDIS=redis://paperless-redis:6379
Environment=PAPERLESS_TASK_WORKERS=2
Environment=PAPERLESS_TIKA_ENABLED=1
Environment=PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://gotenberg:3000
Environment=PAPERLESS_TIKA_ENDPOINT=http://tika:9998
Environment=PAPERLESS_TIME_ZONE=Europe/Zurich
Environment=PAPERLESS_URL=https://paperless.gtache.ch
Environment=TZ=Europe/Zurich
Environment=USERMAP_GID=1020
Environment=USERMAP_UID=1020
Image=ghcr.io/paperless-ngx/paperless-ngx:latest
Pod=paperless.pod
Secret=paperless-secret-key,type=env,target=PAPERLESS_SECRET_KEY
StartWithPod=true
Timezone=Europe/Zurich
Volume=paperless-data.volume:/usr/src/paperless/data
Volume=paperless-media.volume:/usr/src/paperless/media
Volume=paperless-export.volume:/usr/src/paperless/export
Volume=paperless-consume.volume:/usr/src/paperless/consume
[Service]
Restart=always
[Install]
WantedBy=default.target