-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (28 loc) · 974 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (28 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
services:
sql-cortex-mcp:
container_name: sql-cortex-mcp
build: .
ports:
- "8123:8000"
environment:
DB_URL: "sqlite:///./data/dev.db"
MODE: "read-only"
LIMIT_DEFAULT: "100"
TIMEOUT_MS: "5000"
ENABLE_UI: "true"
ENABLE_EXPLANATIONS: "true"
ALLOWED_ORIGINS: "http://localhost:8000,http://127.0.0.1:8000"
ALLOW_DESTRUCTIVE: "false"
# LLM provider: openai | deepseek | ollama | gemini | anthropic
LLM_PROVIDER: "openai"
LLM_API_KEY: ""
# openai: gpt-5.4-mini, gpt-5.4, o3, o4-mini
# anthropic: claude-sonnet-4-6, claude-opus-4-6, claude-haiku-4-5
# deepseek: deepseek-chat, deepseek-reasoner
# ollama: llama3.2, codellama, qwen2.5-coder
# gemini: gemini-3-flash-preview, gemini-2.5-pro
LLM_MODEL: "gpt-5.4-mini"
LLM_BASE_URL: ""
volumes:
- ./data:/app/data
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]