feat: add paperless-ngx document management stack

This commit is contained in:
Paccoco
2026-05-06 10:59:20 -05:00
parent 211ba9f21f
commit 54e1c81cc6
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
name: documents
services:
paperless:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
container_name: paperless
restart: unless-stopped
ports:
- "8083:8000"
volumes:
- /mnt/docker-ssd/docker/appdata/paperless:/usr/src/paperless/data
- /mnt/unraid/data/paperless/media:/usr/src/paperless/media
- /mnt/unraid/data/paperless/export:/usr/src/paperless/export
- /mnt/unraid/data/paperless/consume:/usr/src/paperless/consume
env_file: .env
environment:
- PAPERLESS_REDIS=${PAPERLESS_REDIS}
- PAPERLESS_DBHOST=shared-postgres
- PAPERLESS_DBNAME=paperless
- PAPERLESS_DBPORT=5432
- PAPERLESS_TIME_ZONE=America/Chicago
- PAPERLESS_OCR_LANGUAGE=eng
- PAPERLESS_URL=https://paperless.paccoco.com
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:8000/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
- ix-databases_shared-databases
- pangolin
networks:
ix-databases_shared-databases:
external: true
pangolin:
external: true