This commit is contained in:
Mikan
2026-06-19 17:10:17 +03:00
parent 5202b30e0a
commit 81bbf8aa69
4 changed files with 171 additions and 59 deletions

View File

@@ -72,6 +72,13 @@ services:
DEFAULT_EMBEDDING_MODEL: ${DEFAULT_EMBEDDING_MODEL:-text-embedding-3-small}
DEFAULT_EMBEDDING_DIM: ${DEFAULT_EMBEDDING_DIM:-0}
DEFAULT_EMBEDDING_REQUEST_TIMEOUT: ${DEFAULT_EMBEDDING_REQUEST_TIMEOUT:-60}
# Make `host.docker.internal` resolvable inside the container (Linux).
# On Docker Desktop (Mac/Win) this is added automatically; on Linux it's not,
# so we add it explicitly. Allows pointing DEFAULT_LLM_BASE_URL at
# http://host.docker.internal:1234/v1 to reach an LM Studio / llama.cpp
# running on the host.
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "8000:8000"
volumes: