https://github.com/dmartingarcia/docker-monitoring
https://github.com/dmartingarcia/docker-monitoring
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmartingarcia/docker-monitoring
- Owner: dmartingarcia
- Created: 2021-08-05T23:09:03.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T23:57:23.000Z (9 months ago)
- Last Synced: 2024-09-17T05:28:29.248Z (9 months ago)
- Language: Makefile
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-monitoring
It is part of a [set of repositories](https://github.com/search?q=user%3Admartingarcia+docker) that contain dockerised environments for small applications.
In this case, it contains a self-efficient *monitoring* setup, featuring Grafana, Prometheus, NodeExporter, Cadvisor, AlertManager and PushGateway.
## How to use it
```
cp .env.example .env
docker-compose up -d
```And browse into `http://localhost:9002 to check Grafana Dashboard.
You should take a look into `.env` variable definitions before starting.
## Traefik integration`
It also contains a Traefik integration, that interact with this reverse proxy, routing request to each container in case it matches the specified domain
There's multiple subdomains exposed:
- prometheus.your.domain.com
- grafana.your.domain.com
- nodeexporter.your.domain.com
- pushgateway.your.domain.com
- cadvisor.your.domain.com
- alertmanager.your.domain.com## .env setup
It contains a basic set of variables like:
- Credentials
- HTTP host that uses Traefik to match requestsPlease take a look on that and :warning: create your own credentials :warning: in case you want to expose it to the public.
## Docker Traefik
If you want to use this Traefik integration, [take a look at this repository](https://github.com/dmartingarcia/docker-traefik)