apps/paperless-gpt/docker-compose.yml aktualisiert
This commit is contained in:
@@ -3,33 +3,50 @@ services:
|
|||||||
image: icereed/paperless-gpt:latest
|
image: icereed/paperless-gpt:latest
|
||||||
container_name: paperless-gpt
|
container_name: paperless-gpt
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- PAPERLESS_BASE_URL=http://paperless:8000
|
|
||||||
- PAPERLESS_PUBLIC_URL=https://paperless.kaleschke.info
|
# Paperless connection
|
||||||
- PAPERLESS_API_TOKEN=${PAPERLESS_API_TOKEN}
|
PAPERLESS_BASE_URL: http://paperless:8000
|
||||||
- MANUAL_TAG=paperless-gpt
|
PAPERLESS_PUBLIC_URL: https://paperless.kaleschke.info
|
||||||
- AUTO_TAG=paperless-gpt-auto
|
PAPERLESS_API_TOKEN: ${PAPERLESS_API_TOKEN}
|
||||||
- LLM_PROVIDER=openai
|
|
||||||
- LLM_MODEL=gpt-4o-mini
|
# Processing tags
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
MANUAL_TAG: paperless-gpt
|
||||||
- LLM_LANGUAGE=German
|
AUTO_TAG: paperless-gpt-auto
|
||||||
- OCR_PROVIDER=llm
|
|
||||||
- VISION_LLM_PROVIDER=openai
|
# LLM
|
||||||
- VISION_LLM_MODEL=gpt-4o-mini
|
LLM_PROVIDER: openai
|
||||||
- OCR_PROCESS_MODE=image
|
LLM_MODEL: gpt-4o-mini
|
||||||
|
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
||||||
|
LLM_LANGUAGE: German
|
||||||
|
|
||||||
|
# OCR / Vision
|
||||||
|
OCR_PROVIDER: llm
|
||||||
|
OCR_PROCESS_MODE: image
|
||||||
|
VISION_LLM_PROVIDER: openai
|
||||||
|
VISION_LLM_MODEL: gpt-4o-mini
|
||||||
|
|
||||||
|
# Auto behavior
|
||||||
|
AUTO_GENERATE_TITLE: "true"
|
||||||
|
AUTO_GENERATE_TAGS: "true"
|
||||||
|
AUTO_GENERATE_CORRESPONDENTS: "true"
|
||||||
|
AUTO_GENERATE_DOCUMENT_TYPE: "true"
|
||||||
|
|
||||||
|
# Important fix for your issue
|
||||||
|
CREATE_NEW_TAGS: "true"
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
LOG_LEVEL: info
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/user/appdata/paperless-gpt/data:/app/data
|
- /mnt/user/appdata/paperless-gpt/data:/app/data
|
||||||
- /mnt/user/appdata/paperless-gpt/prompts:/app/prompts
|
- /mnt/user/appdata/paperless-gpt/prompts:/app/prompts
|
||||||
|
|
||||||
dns:
|
|
||||||
- 1.1.1.1
|
|
||||||
- 8.8.8.8
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- frontend_net
|
- frontend_net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user