flows fix

This commit is contained in:
2026-09-19 01:27:39 -05:00
parent 0b79ac86f7
commit 05cee81045
2 changed files with 75 additions and 44 deletions
+39
View File
@@ -0,0 +1,39 @@
services:
broker:
image: docker.io/library/redis:6.0
restart: unless-stopped
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
ports:
- '8010:8000'
volumes:
- /data/paperless-ngx/data:/usr/src/paperless/data
- /data/paperless-ngx/media:/usr/src/paperless/media
- /data/paperless-ngx/export:/usr/src/paperless/export
- /data/paperless-ngx/consume:/usr/src/paperless/consume
- /data/paperless-ngx/redis/data:/data
environment:
PAPERLESS_REDIS: redis://broker:6379
USERMAP_UID: ${PUID}
USERMAP_GID: ${PGID}
PAPERLESS_TIME_ZONE: ${TZ}
PAPERLESS_URL: ${PAPERLESSURL}
PAPERLESS_SECRET_KEY: ${RANDOMKEY}
PAPERLESS_OCR_LANGUAGE: ${LANG}
PAPERLESS_ADMIN_USER: ${ADMIN_USER}
PAPERLESS_ADMIN_PASSWORD: ${ADMIN_PASS}
healthcheck:
test:
- CMD
- curl
- '-fs'
- '-S'
- '--max-time'
- '2'
- http://localhost:8000
interval: 30s
timeout: 10s
retries: 5
depends_on:
- broker
restart: unless-stopped