Wiki.js

Konfiguration und Schnittstellen

Automatisch erzeugte Navigationsübersicht für Konfiguration und Schnittstellen.

Stand: 2026-09-09
Projekt: Paperless-ngx
Status: Aktiv; produktiver Dokumentenstack

Zweck

Diese Seite ergänzt die einheitliche Projektstruktur und ordnet die vorhandenen Informationen nachvollziehbar ein.

Grundsatz

Diese Seite enthält eine lesbare, sanitierte Konfigurationsreferenz. Secretwerte, Passwörter, Token, private Schlüssel und API-Schlüssel werden vollständig ausgelassen.

/home/chris/docker/paperless-ngx/docker-compose.yml

Sanitisierte Referenz; die Originaldatei bleibt die technische Quelle.

# Docker Compose file for running paperless from the docker container registry.
# This file contains everything paperless needs to run.
# Paperless supports amd64, arm and arm64 hardware.
# All compose files of paperless configure paperless in the following way:
#
# - Paperless is (re)started on system boot, if it was running before shutdown.
# - Docker volumes for storing data are managed by Docker.
# - Folders for importing and exporting files are created in the same directory
#   as this file and mounted to the correct folders inside the container.
# - Paperless listens on port 8000.
#
# SQLite is used as the database. The SQLite file is stored in the data volume.
#
# In addition to that, this Docker Compose file adds the following optional
# configurations:
#
# - Apache Tika and Gotenberg servers are started with paperless and paperless
#   is configured to use these services. These provide support for consuming
#   Office documents (Word, Excel, Power Point and their LibreOffice counter-
#   parts.
#
# To install and update paperless with this file, do the following:
#
# - Copy this file as 'docker-compose.yml' and the files 'docker-compose.env'
#   and '.env' into a folder.
# - Run 'docker compose pull'.
# - Run 'docker compose run --rm webserver createsuperuser' to create a user.
# - Run 'docker compose up -d'.
#
# For more extensive installation and update instructions, refer to the
# documentation.

services:
  broker:
    image: docker.io/library/redis:7
    restart: unless-stopped
    mem_limit: 512m
    cpus: "0.5"
    pids_limit: 128
    volumes:
      - redisdata:/data
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 30s
      timeout: 10s
      retries: 5

  webserver:
    image: ghcr.io/paperless-ngx/paperless-ngx:latest
    restart: unless-stopped
    mem_limit: 2g
    cpus: "2.0"
    pids_limit: 512
    depends_on:
      - broker
      - gotenberg
      - tika
    ports:
      - "8000:8000"
    healthcheck:
      test: ["CMD", "curl", "-fsSL", "http://127.0.0.1:8000/api/"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 60s
    volumes:
      - data:/usr/src/paperless/data
      - media:/usr/src/paperless/media
      - ./export:/usr/src/paperless/export
      - ./consume:/usr/src/paperless/consume
    env_file: docker-compose.env
    environment:
      PAPERLESS_REDIS: redis://broker:6379
      PAPERLESS_TIKA_ENABLED: 1
      PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
      PAPERLESS_TIKA_ENDPOINT: http://tika:9998

  gotenberg:
    image: docker.io/gotenberg/gotenberg:8.7
    restart: unless-stopped
    mem_limit: 1g
    cpus: "2.0"
    pids_limit: 512

    # The gotenberg chromium route is used to convert .eml files. We do not
    # want to allow external content like tracking pixels or even javascript.
    command:
      - "gotenberg"
      - "--chromium-disable-javascript=true"
      - "--chromium-allow-list=file:///tmp/.*"
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://127.0.0.1:3000/health"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s

  tika:
    image: docker.io/apache/tika:latest
    restart: unless-stopped
    mem_limit: 1g
    cpus: "1.0"
    pids_limit: 256
    healthcheck:
      test: ["CMD-SHELL", "test -r /proc/1/cmdline && grep -aq java /proc/1/cmdline"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s

  paperless-ai:
    image: clusterzx/paperless-ai:latest

    restart: unless-stopped
    mem_limit: 1g
    cpus: "2.0"
    pids_limit: 512
    ports:
      - "3000:3000"
    volumes:
      - /home/chris/docker/paperless-ai/data:/app/data
    environment:
      - TZ=Europe/Berlin
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://127.0.0.1:3000/health"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s

  ollama:
    image: ollama/ollama:latest

    restart: unless-stopped
    mem_limit: 8g
    cpus: "4.0"
    pids_limit: 512
    volumes:
      - /mnt/data-ssd-1/ollama:/root/.ollama
    environment:
      - OLLAMA_HOST=0.0.0.0:11434
    healthcheck:
      test: ["CMD", "ollama", "list"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 20s

volumes:
  data:
  media:
  redisdata:

Schnittstellen

Hostports, DNS-Namen, Reverse-Proxy-Ziele und externe APIs sind zusätzlich im Abschnitt Deployment & Betrieb sowie in der zentralen Systemdokumentation zu dokumentieren.

Aus dem Seiteninhalt extrahierte Eckdaten

BereichNachweis / Inhalt
Ports8000 3000
Pfade/home/chris/docker/paperless-ngx/docker-compose.yml /data /usr/src/paperless/data /usr/src/paperless/media /usr/src/paperless/export /usr/src/paperless/consume /home/chris/docker/paperless-ai/data:/app /mnt/data-ssd-1/ollama:/root/.ollama
Imagesdocker.io/library/redis:7 ghcr.io/paperless-ngx/paperless-ngx:latest 8000:8000 127.0.0.1:8000 broker:6379 gotenberg:3000 tika:9998 docker.io/gotenberg/gotenberg:8.7 127.0.0.1:3000 docker.io/apache/tika:latest
Healthcheckshealthcheck /health

Schnittstellenübersicht

BereichNachweis / Inhalt
Erkannte Pfade / Endpunkte/strong /data /export:/usr/src/paperless/export /consume:/usr/src/paperless/consume /broker:6379 /gotenberg:3000 /tika:9998

Verifikation: Endpunkte und Datenfelder sind gegen die maßgebliche Anwendungsschnittstelle beziehungsweise das Repository zu prüfen.

Verwandte Dokumentation