fix: add OLLAMA_MODEL environment variable to docker-compose and update README

This commit is contained in:
Mabe
2026-06-21 17:44:45 +02:00
parent 98219a6a53
commit 4b8c2bbc82
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -39,5 +39,6 @@ docker compose up --build
## Notes ## Notes
- The backend requires `OLLAMA_API_KEY` in environment. - The backend requires `OLLAMA_API_KEY` in environment.
- Optionally set `OLLAMA_MODEL` to a valid Ollama Cloud model name, for example `llama3` or `gpt-4o-mini`.
- The frontend stores the access token in `localStorage` for simplicity. - The frontend stores the access token in `localStorage` for simplicity.
- OpenAPI docs are available at `http://localhost:8000/docs`. - OpenAPI docs are available at `http://localhost:8000/docs`.
+1
View File
@@ -4,6 +4,7 @@ services:
context: ./backend context: ./backend
environment: environment:
- OLLAMA_API_KEY=${OLLAMA_API_KEY} - OLLAMA_API_KEY=${OLLAMA_API_KEY}
- OLLAMA_MODEL=${OLLAMA_MODEL}
- OIDC_ISSUER=${OIDC_ISSUER} - OIDC_ISSUER=${OIDC_ISSUER}
- OIDC_AUDIENCE=${OIDC_AUDIENCE} - OIDC_AUDIENCE=${OIDC_AUDIENCE}
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID} - OIDC_CLIENT_ID=${OIDC_CLIENT_ID}