Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
build(docker): use bun healthcheck for media-server service
Richie McIlroy42e89ccdd99d
diff --git a/docker-compose.coolify.yml b/docker-compose.coolify.ymlindex 8c89312e3..d14469468 100644--- a/docker-compose.coolify.yml+++ b/docker-compose.coolify.yml@@ -47,7 +47,7 @@ services:PORT: 3456MEDIA_SERVER_WEBHOOK_SECRET: ${MEDIA_SERVER_WEBHOOK_SECRET}healthcheck:- test: ["CMD", "wget", "-qO-", "http://localhost:3456/health"]+ test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3456/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"]interval: 30stimeout: 10sretries: 3diff --git a/docker-compose.template.yml b/docker-compose.template.ymlindex e21f40d28..1360b3d87 100644--- a/docker-compose.template.yml+++ b/docker-compose.template.yml@@ -61,7 +61,7 @@ services:ports:- "3456:3456"healthcheck:- test: ["CMD", "wget", "-qO-", "http://localhost:3456/health"]+ test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3456/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"]interval: 30stimeout: 10sretries: 3diff --git a/docker-compose.yml b/docker-compose.ymlindex 50add5ca7..a7f62ad01 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -49,7 +49,7 @@ services:PORT: 3456MEDIA_SERVER_WEBHOOK_SECRET: ${MEDIA_SERVER_WEBHOOK_SECRET:-fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210}healthcheck:- test: ["CMD", "wget", "-qO-", "http://localhost:3456/health"]+ test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3456/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"]interval: 30stimeout: 10sretries: 3