Enhance DATA_DIR handling in main.py and docker-compose configuration

This commit is contained in:
Patrice-Gaudicheau
2024-03-31 20:06:15 +02:00
parent 3b0cb7945f
commit ee38b3c84d
2 changed files with 13 additions and 7 deletions

View File

@@ -27,6 +27,7 @@ services:
environment:
- 'OLLAMA_BASE_URL=http://ollama:11434'
- 'WEBUI_SECRET_KEY='
- 'DATA_DIR=/app/backend/data'
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped