Files
homelab-infra/apps/paperless/docker-compose.yml
T
2026-03-26 06:24:36 +00:00

46 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: "3.9"
services:
paperless:
image: ghcr.io/paperless-ngx/paperless-ngx:2.20.10
container_name: paperless
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- PAPERLESS_URL=https://paperless.kaleschke.info
# DB (Übergang erstmal klassisch später Secret)
- PAPERLESS_DBHOST=postgresql17
- PAPERLESS_DBNAME=paperless
- PAPERLESS_DBUSER=paperless
- PAPERLESS_DBPASS=CHANGE_ME
# Redis
- PAPERLESS_REDIS=redis://redis:6379
volumes:
- /mnt/user/appdata/paperless/data:/usr/src/paperless/data
- /mnt/user/appdata/paperless/media:/usr/src/paperless/media
- /mnt/user/appdata/paperless/export:/usr/src/paperless/export
- /mnt/user/appdata/paperless/consume:/usr/src/paperless/consume
networks:
- frontend_net
- backend_net
labels:
- "traefik.enable=true"
- "traefik.docker.network=frontend_net"
- "traefik.http.routers.paperless.rule=Host(`paperless.kaleschke.info`)"
- "traefik.http.routers.paperless.entrypoints=websecure"
- "traefik.http.routers.paperless.tls.certresolver=le"
- "traefik.http.services.paperless.loadbalancer.server.port=8000"
networks:
frontend_net:
external: true
backend_net:
external: true