[BUG] Docker use custom GraphRAG settings.yaml
Opened this issue · 3 comments
Description
Where do I need to upload the settings.yaml.example in container of it to use it.
Tried to upload to /app as both settings.yaml and settings.yaml.example, both did not work
Reproduction steps
GraphRAG customization
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Browsers
Microsoft Edge
OS
Windows
Additional information
No response
Make sure that you set env var USE_CUSTOMIZED_GRAPHRAG_SETTING=true
in docker run
command.
Did that too. But the settings.waml is not being picked up.
Even tried to set all the variables via enviornment, but still no joy.
Any ideas please.
cinnamon:
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
- USE_CUSTOMIZED_GRAPHRAG_SETTING="true"
- GRAPHRAG_API_KEY="ollama"
- GRAPHRAG_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_LLM_API_KEY="ollama"
- GRAPHRAG_LLM_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_LLM_MODEL="llama3.2"
- GRAPHRAG_EMBEDDING_API_KEY="ollama"
- GRAPHRAG_EMBEDDING_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_EMBEDDING_MODEL="nomic-embed-text"
ports:
- "7860:7860"
image: "ghcr.io/cinnamon/kotaemon:latest-full"
container_name: cinnamon
restart: unless-stopped
volumes:
- ./docker_volume/cinnamon/data:/app/ktem_app_data
- ./flowsettings.py:/app/flowsettings.py
- ./settings.yaml.example:/app/settings.yaml.example
- ./.env.example:/app/.env