mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: music-transcode healthchecks id
This commit is contained in:
@@ -28,7 +28,7 @@ spec:
|
|||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/auricom/freac
|
repository: ghcr.io/auricom/freac
|
||||||
tag: 1.1.7@sha256:b1cf292cb70ddc89329afe0e09f8b88b275dba2883b49a9f2f1efc9e50d32347
|
tag: 1.1.7@sha256:95e02a07b254507b0644f008cef596f85e8f7b13f207feec23995a96c77b12c5
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
@@ -38,10 +38,19 @@ spec:
|
|||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
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
|
cd /app
|
||||||
|
|
||||||
/app/transcode.sh -c
|
/app/transcode.sh -c
|
||||||
/app/transcode.sh -r
|
/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:
|
env:
|
||||||
TRANSCODE_INPUT_DIR: /mnt/music/
|
TRANSCODE_INPUT_DIR: /mnt/music/
|
||||||
TRANSCODE_OUTPUT_DIR: /mnt/music_transcoded/
|
TRANSCODE_OUTPUT_DIR: /mnt/music_transcoded/
|
||||||
|
Reference in New Issue
Block a user