This may be a breaking change if you are using Prometheus metrics or you are using the Node.js 14.x image for Docker. (#157)
Please read the new documentation: https://rennokki.gitbook.io/soketi-docs/advanced-usage/scraping-prometheus-metrics
- Dropped Node.js 14.x build for Docker (there was no reason for 14.x if it ran in 16.x which is LTS)
- @stayallive pointed out in #124 that exposing the
/metrics
and/usage
endpoints to6001
(which is public) was a bad idea in terms of security. Starting with this version, the server will run the metrics to a different port (9601
) which may not be exposed to the internet. This way, you can run the Prometheus Scrape service within your server or in your private network.