diff --git a/docker-compose.yml b/docker-compose.yml index 7861075..f2c9f74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,12 @@ services: - ./voices:/app/voices/ - ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here - ./dockerconfig.json:/app/confignew.json + healthcheck: + test: ["CMD", "wget", "-qO-", "http://localhost:7851/api/ready"] + interval: 1m30s + timeout: 30s + retries: 5 + start_period: 30s deploy: resources: reservations: