health-check fixes

This commit is contained in:
2026-06-03 14:25:45 +02:00
parent 83cbec8276
commit aa6386c7de
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ services:
"CMD", "CMD",
"node", "node",
"-e", "-e",
"require('http').get('http://localhost:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})" "require('http').get('http://'+require('os').hostname()+':3000/api/profile',r=>{process.exit(0)}).on('error',()=>process.exit(1))"
] ]
timeout: 5s timeout: 5s
interval: 5s interval: 5s
@@ -257,7 +257,7 @@ services:
"--no-verbose", "--no-verbose",
"--tries=1", "--tries=1",
"--spider", "--spider",
"http://localhost:5000/status" "http://127.0.0.1:5000/status"
] ]
timeout: 5s timeout: 5s
interval: 5s interval: 5s
+2 -2
View File
@@ -17,7 +17,7 @@ services:
"CMD", "CMD",
"node", "node",
"-e", "-e",
"require('http').get('http://localhost:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})" "require('http').get('http://'+require('os').hostname()+':3000/api/profile',r=>{process.exit(0)}).on('error',()=>process.exit(1))"
] ]
timeout: 5s timeout: 5s
interval: 5s interval: 5s
@@ -255,7 +255,7 @@ services:
"--no-verbose", "--no-verbose",
"--tries=1", "--tries=1",
"--spider", "--spider",
"http://localhost:5000/status" "http://127.0.0.1:5000/status"
] ]
timeout: 5s timeout: 5s
interval: 5s interval: 5s