From b2d18497714e587d32a726d00aa5cfe4f37ede70 Mon Sep 17 00:00:00 2001 From: Era Dorta Date: Sun, 5 Jan 2025 01:05:57 +0100 Subject: [PATCH] Use signal-cli-rest-api own healthy definition --- docker-compose.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 76c36e0..29f991b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,12 +8,6 @@ services: environment: - MODE=json-rpc - AUTO_RECEIVE_SCHEDULE_SEND_READ_RECEIPTS=true - healthcheck: - # Check that the signal-rest-api is working by the health end point - test: ["CMD-SHELL", "curl -X GET -H \"Content-Type: application/json\" 'http://127.0.0.1:8080/v1/health'"] - interval: 30s # Check every 30 seconds - retries: 5 # Try a maximum of 5 times - timeout: 1s # If the curl commands takes more than 1 second to return, it is considered a failure restart: always signalblast: image: "eradorta/signalblast:$DOCKER_TAG"