Update yaml to yml

This commit is contained in:
2025-06-08 13:50:37 +05:30
parent 099b0b4045
commit 7b597b7faa
47 changed files with 2 additions and 172 deletions

View File

@@ -0,0 +1,38 @@
version: "3.8"
services:
paperless-ngx-server:
image: "paperlessngx/paperless-ngx:2.16.2"
container_name: "paperless-ngx-server"
depends_on:
- "paperless-ngx-redis"
environment:
USERMAP_UID: ${PUID}
USERMAP_GID: ${PGID}
PAPERLESS_TIME_ZONE: ${TZ}
PAPERLESS_SECRET_KEY: ${PAPERLESS_SECRET_KEY}
PAPERLESS_URL: ${URL}
PAPERLESS_REDIS: redis://paperless-ngx-redis:6379
PAPERLESS_FILENAME_FORMAT: "{correspondent}/{created_year}/{title}"
PAPERLESS_OCR_DESKEW: false
volumes:
- "${DATA_PATH}:/usr/src/paperless/data"
- "${MEDIA_PATH}:/usr/src/paperless/media"
- "${EXPORT_PATH}:/usr/src/paperless/export"
- "${CONSUME_PATH}:/usr/src/paperless/consume"
ports:
- "${SERVER_PORT}:8000"
restart: "unless-stopped"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
paperless-ngx-redis:
image: "redis:8.0.2"
container_name: "paperless-ngx-redis"
volumes:
- "${REDIS_PATH}:/data"
ports:
- "${REDIS_PORT}:6379"
restart: "unless-stopped"