build
All checks were successful
Build & Deploy MB Grid Solutions / build-and-deploy (push) Successful in 30s

This commit is contained in:
2026-01-27 17:37:28 +01:00
parent 6ddbff0e27
commit 081dad7cf9

View File

@@ -11,7 +11,7 @@ services:
- "traefik.http.routers.mb-grid-solutions.tls.certresolver=le"
- "traefik.http.services.mb-grid-solutions.loadbalancer.server.port=3000"
healthcheck:
test: ["CMD", "node", "-e", "const http = require('http'); const options = { host: 'localhost', port: 3000, path: '/health', timeout: 2000 }; const request = http.request(options, (res) => { if (res.statusCode === 200) { process.exit(0); } else { process.exit(1); } }); request.on('error', (err) => { process.exit(1); }); request.end();"]
test: ["CMD", "node", "-e", "const http = require('http'); const options = { host: '127.0.0.1', port: 3000, path: '/health', timeout: 2000 }; const request = http.request(options, (res) => { if (res.statusCode === 200) { process.exit(0); } else { process.exit(1); } }); request.on('error', (err) => { process.exit(1); }); request.end();"]
interval: 5s
timeout: 2s
retries: 10