From 1dcb52fb8a655dec56cb7298857b29aaf311746a Mon Sep 17 00:00:00 2001 From: ktutak1337 Date: Sat, 3 Aug 2024 20:07:42 +0200 Subject: [PATCH] Chore(Docker): Update .env.example and docker-compose.yaml to include OLLAMA_ENDPOINT --- docker/.env.example | 2 ++ docker/docker-compose.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index cca697f..2f28dd8 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -31,6 +31,8 @@ SEQ_ADMIN_PASSWORD= # Use '*' as a wildcard to allow all origins, but this is not recommended for production. CORS_ALLOWED_ORIGINS=* +#URL for the Ollama service (e.g., * or http://localhost:11434) +OLLAMA_ENDPOINT=http://localhost:11434 # === Model Keys === # Keys for accessing services with LLM models diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 8c30dcb..c23be47 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -26,6 +26,7 @@ services: - SEQ__URL=${SEQ_URL} - SEQ__API_KEY=${SEQ_API_KEY} - CORS__ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS} + #- OLLAMA__ENDPOINT=${OLLAMA_ENDPOINT} #OPTIONAL ports: - 8080:8080 networks: