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