ia-test/docker-compose.yml
2025-08-16 17:15:08 +02:00

19 lines
549 B
YAML

version: "3.9"
services:
localai:
build: .
container_name: localai
ports:
- "8085:8080"
environment:
- MODELS_PATH=/models
- THREADS=8 # ajustez selon vos cores (léger par défaut)
- CONTEXT_SIZE=2048 # contexte réduit pour tests
- DEBUG=false
- DISABLE_DOWNLOAD=false
command: ["--models-path", "/models", "--address", "0.0.0.0:8080"]
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8080/v1/models"]
interval: 10s
timeout: 5s
retries: 10