Chat Application with Spring Boot, Websockets, and MongoDB monitored by Prometheus.
Requirements: Java 8+, JAVA_HOME enviroment variable.
gradlew build
docker-compose up -d --build
or
Start mongodb, prometheus, exporters manually (use config directory) and execute bin\chat1.sh(.bat). Also add dns record "127.0.0.1 mongodb pushgateway" to /etc/hosts (Unix) or C:\Windows\System32\drivers\etc\hosts (Windows).
Chat: https://localhost:12345
Chat JMX exporter: https://localhost:1234
Prometheus: https://localhost:9090
Pushgateway: https://localhost:9091
Grafana: https://localhost:3000
docker volume rm chat1_mongodata