Skip to main content

paperless-ai

 

https://github.com/clusterzx/paperless-ai

services:
  paperless-ai:
    image: clusterzx/paperless-ai:3.0.9
    container_name: paperless-ai
    network_mode: bridge
    restart: unless-stopped
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges=true
    environment:
      - PUID=1000
      - PGID=1000
      - PAPERLESS_AI_PORT=${PAPERLESS_AI_PORT:-3000}
      - RAG_SERVICE_URL=http://localhost:8000
      - RAG_SERVICE_ENABLED=true
    ports:
      - "3057:${PAPERLESS_AI_PORT:-3000}"
    volumes:
      - data:/app/data

volumes:
  data:
  

.env

PAPERLESS_AI_PORT=3057

 

Paperless-ai + netbird

services:
  paperless-ai:
    image: clusterzx/paperless-ai:3.0.9
    container_name: paperless-ai
    #network_mode: host
    depends_on:
      - netbird
    restart: unless-stopped
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges=true
    environment:
      - PUID=1000
      - PGID=1000
      - PAPERLESS_AI_PORT=${PAPERLESS_AI_PORT:-3000}
      - RAG_SERVICE_URL=http://LOKALE-KI-HOST.netbird.cloud:11434
      - RAG_SERVICE_ENABLED=true
    ports:
      - "3057:${PAPERLESS_AI_PORT:-3000}"
    volumes:
      - data:/app/data

  netbird:
    image: netbirdio/netbird:latest
    container_name: netbird-client
    privileged: true
    #network_mode: host
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
    volumes:
      - /var/run/netbird:/var/run/netbird
      - nb-cfg:/etc/netbird
    environment:
      - NB_SETUP_KEY=FFEB249...........B1AA49
    restart: unless-stopped

volumes:
  data:
  nb-cfg:

.env

PAPERLESS_AI_PORT=3057

paperless-ai Konfiguration mit Ollama:

Provider: Ollama
Ollama API: http://evo-x2.netbird.cloud:11434
Ollama Model: gemma3:27b

image.png