From c5c75d5c4a4a79dcf2e69466e631d45e094ffb80 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 24 Aug 2025 16:25:23 +0300 Subject: [PATCH] Add healthcheck --- compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 99c8ac3a..bf652abe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -23,5 +23,8 @@ services: - TIMEZONE volumes: - /data/coolify/applications/music-library:/mnt/music_library - - + healthcheck: + test: ["CMD-SHELL", "bin/music_library pid"] + interval: 10s + timeout: 20s + retries: 10