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
um mit paperless-ai auf eine lokale KI (zB ein GMKTec Evo-X2) zugreifen zu können, nutze ich Netbird-VPN:
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:11434localhost:8000
- RAG_SERVICE_ENABLED=true
- PAPERLESS_URL=https://paperless-ai.MEINEDOMAIN.de
ports:
- "3057:${PAPERLESS_AI_PORT:-3000}"
volumes:
- data:/app/data
netbird:
image: netbirdio/netbird:latest
container_name: netbird-clientpaperless-ai-netbird
hostname: fn-paperless-ai
privileged: true
#network_mode: host
cap_add:
- NET_ADMIN
- SYS_ADMIN
- SYS_RESOURCE
volumes:
-#- /var/run/netbird:/var/run/netbird
- nb-var-lib:/var/lib/netbird
- nb-cfg:/etc/netbird
environment:
- NB_SETUP_KEY=FFEB249.FFE...........B1AA49AA49
restart: unless-stopped
volumes:
data:
nb-cfg:
nb-var-lib:
.env
PAPERLESS_AI_PORT=3057
paperless-ai Konfiguration mit Ollama:
Provider: Ollama
Ollama API: http://evo-x2.netbird.cloud:11434
Ollama Model: gemma3:27b
