Docker
Initially we're only going to use docker to host our logging and metrics servers. Later on we'll use Docker to host our code.
Start the logging services
Navigate to the /docker/graylog
folder with a CLI (Bash for windows, Command Promt or other)
# To build image and start
docker-compose up
# To stop services
docker-compose stop
# To start services again
docker-compose start
- Graylog is then available at localhost:9000
Start the monitoring services
Navigate to /docker/prometheus
# To build image and start
docker-compose up
# To stop services
docker-compose stop
# To start services again
docker-compose start
- Prometheus is then available at localhost:9090
- Grafana is available at localhost:3000