39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
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
|