fix: music-transcode healthchecks id

This commit is contained in:
auricom
2025-07-01 17:32:54 +02:00
parent cff9c30d48
commit 72e4d66a05

View File

@@ -28,7 +28,7 @@ spec:
app:
image:
repository: ghcr.io/auricom/freac
tag: 1.1.7@sha256:b1cf292cb70ddc89329afe0e09f8b88b275dba2883b49a9f2f1efc9e50d32347
tag: 1.1.7@sha256:95e02a07b254507b0644f008cef596f85e8f7b13f207feec23995a96c77b12c5
command:
- /bin/bash
- -c
@@ -38,10 +38,19 @@ spec:
set -o errexit
set -o nounset
if [[ -n "${HEALTHCHECKS_ID:-}" ]]; then
wget "https://hc-ping.com/${HEALTHCHECKS_ID}/start" -T 10 -t 5 -O /dev/null
fi
cd /app
/app/transcode.sh -c
/app/transcode.sh -r
# Send completion ping to healthchecks
if [[ -n "${HEALTHCHECKS_ID:-}" ]]; then
wget "https://hc-ping.com/${HEALTHCHECKS_ID}" -T 10 -t 5 -O /dev/null
fi
env:
TRANSCODE_INPUT_DIR: /mnt/music/
TRANSCODE_OUTPUT_DIR: /mnt/music_transcoded/