services: paperless-ai: image: clusterzx/paperless-ai container_name: paperless-ai network_mode: bridge restart: unless-stopped cap_drop: - ALL security_opt: - no-new-privileges=true environment: - PUID=997 - PGID=988 - PAPERLESS_AI_PORT=${PAPERLESS_AI_PORT:-3000} #- RAG_SERVICE_URL=http://localhost:8000 - RAG_SERVICE_ENABLED=true ports: - 15002:${PAPERLESS_AI_PORT:-3000} volumes: - /mnt/pve/unas/services/paperless-ai:/app/data networks: {}