Add application health endpoint

This commit is contained in:
jb
2026-07-30 11:36:15 -04:00
parent 3f440dd3c9
commit 6186534ac8
7 changed files with 185 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ services:
- CMD
- node
- -e
- fetch('http://127.0.0.1:3000/api/health/database').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
- fetch('http://127.0.0.1:3000/api/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
interval: 15s
timeout: 5s
retries: 8
+1 -1
View File
@@ -25,7 +25,7 @@ services:
- CMD
- node
- -e
- fetch('http://127.0.0.1:3000/api/health/database').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
- fetch('http://127.0.0.1:3000/api/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))
interval: 15s
timeout: 5s
retries: 8