llmproxy/docker-compose.yml
Oliver Hofmann 8d3f9a7661 Fix OpenAI array content, add error logging, Ollama reachability warning
- Normalize OpenAI array-format content to string to fix connection reset
- Add error.log with rotating handler for proxy and stream errors
- Add global unhandled exception handler returning JSON 500
- Write OLLAMA_URL/DEFAULT_MODEL env vars to DB on startup (reset on restart)
- Add extra_hosts to docker-compose.yml for host.docker.internal on Linux
- Show warning in admin UI when Ollama URL is unreachable
- Return reachable: true/false from /api/ollama-models endpoint
2026-05-07 11:43:17 +02:00

14 lines
358 B
YAML

services:
llmproxy:
image: mediaeng/llmproxy:latest
restart: unless-stopped
env_file: .env
ports:
- "${PROXY_PORT:-8000}:${PROXY_PORT:-8000}"
- "127.0.0.1:8001:8001"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./backend/test.db:/app/backend/test.db
- ./backend/logs:/app/backend/logs