UP
This commit is contained in:
parent
eb06e8bdce
commit
d6b30bd9a2
@ -4,7 +4,7 @@ services:
|
||||
build: .
|
||||
container_name: localai
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8085:8080"
|
||||
environment:
|
||||
- MODELS_PATH=/models
|
||||
- THREADS=2 # ajustez selon vos cores (léger par défaut)
|
||||
@ -12,7 +12,7 @@ services:
|
||||
- DEBUG=false
|
||||
command: ["--models-path", "/models", "--address", "0.0.0.0:8080"]
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8080/v1/models"]
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8085/v1/models"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
Loading…
Reference in New Issue
Block a user