Fix jwt-token

This commit is contained in:
2025-09-23 15:06:54 +02:00
parent e3816b056e
commit f40d0d9b89
4 changed files with 300 additions and 12 deletions

View File

@@ -349,9 +349,10 @@ class DataRetentionService {
}
});
server.listen(port, () => {
console.log(`📊 Metrics server listening on port ${port}`);
server.listen(port, '0.0.0.0', () => {
console.log(`📊 Metrics server listening on internal port ${port}`);
console.log(`📊 Endpoints: /health, /metrics, /stats`);
console.log(`🔒 Access restricted to Docker internal network only`);
});
return server;