logging and healthchecks

This commit is contained in:
mudler
2023-07-30 18:35:30 +02:00
parent c8e76fa6e3
commit c192567842
2 changed files with 8 additions and 1 deletions

View File

@@ -2,6 +2,11 @@ version: "3.9"
services:
api:
image: quay.io/go-skynet/local-ai:master
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
interval: 1m
timeout: 120m
retries: 120
ports:
- 8090:8080
env_file: