Run the install script:
./scripts/install.sh
Add aliases for frequently used commands to ~/.bash_aliases
:
# Start cAdvisor, Prometheus, Grafana
alias amon="cd /path/to/dw-monitor && docker compose up -d"
# Stop cAdvisor, Prometheus, Grafana
alias smon="cd /path/to/dw-monitor && docker compose down"
Set /path/to/
to the location of the repository on your machine. If you prefer to run the containers in the foreground, then omit the -d
option.
To delete all the data and Docker images, run:
./scripts/uninstall.sh
Start the cAdvisor, Prometheus and Grafana containers in detached mode:
docker compose up -d
If you prefer to run the containers in the foreground, then omit the -d
option.
The following Docker containers provide dashboards. The open.sh
script only opens a URL or application, so remember to start the relevant container(s) beforehand.
Service | Command |
---|---|
cadvisor |
./scripts/open.sh cadvisor |
grafana |
./scripts/open.sh grafana |
prometheus |
./scripts/open.sh prometheus |
The following ports are exposed. The configuration is loaded from ./.env
during startup.
Service | Port | Protocol |
---|---|---|
cadvisor |
29050 | HTTP |
prometheus |
29060 | HTTP |
grafana |
29070 | HTTP |
Copyright (c) 2023 Hein Bekker. Licensed under the GNU Affero General Public License, version 3.