Describe WEBUI_PATH setting in readme

This commit is contained in:
ChrisOboe 2025-01-03 16:15:59 +01:00
parent 1d7f3349ba
commit 333d66cbfe
No known key found for this signature in database

View file

@ -80,6 +80,7 @@ services:
VISION_LLM_MODEL: 'minicpm-v' # Optional (for OCR) - minicpm-v, for example for ollama, gpt-4o for openai VISION_LLM_MODEL: 'minicpm-v' # Optional (for OCR) - minicpm-v, for example for ollama, gpt-4o for openai
LOG_LEVEL: 'info' # Optional or 'debug', 'warn', 'error' LOG_LEVEL: 'info' # Optional or 'debug', 'warn', 'error'
LISTEN_INTERFACE: '127.0.0.1:8080' # Optional, default is ':8080' LISTEN_INTERFACE: '127.0.0.1:8080' # Optional, default is ':8080'
WEBUI_PATH: '/usr/share/paperless-gpt/webui' # Optional, default is './web-app/dist'
volumes: volumes:
- ./prompts:/app/prompts # Mount the prompts directory - ./prompts:/app/prompts # Mount the prompts directory
ports: ports:
@ -149,6 +150,7 @@ If you prefer to run the application manually:
| `VISION_LLM_MODEL` | The model name to use for OCR (e.g., `minicpm-v`). | No | | `VISION_LLM_MODEL` | The model name to use for OCR (e.g., `minicpm-v`). | No |
| `LOG_LEVEL` | The log level for the application (`info`, `debug`, `warn`, `error`). Default is `info`. | No | | `LOG_LEVEL` | The log level for the application (`info`, `debug`, `warn`, `error`). Default is `info`. | No |
| `LISTEN_INTERFACE` | The interface paperless-gpt listens to. Default is `:8080` | No | | `LISTEN_INTERFACE` | The interface paperless-gpt listens to. Default is `:8080` | No |
| `WEBUI_PATH` | The path to load static content from. Default is `./web-app/dist` | No |
**Note:** When using Ollama, ensure that the Ollama server is running and accessible from the paperless-gpt container. **Note:** When using Ollama, ensure that the Ollama server is running and accessible from the paperless-gpt container.