This repository contains a docker compose stack with the following services:
- grafana
- loki
- prometheus
- promtail
- terraform enterprise
Install taskfile with the following command:
brew install go-taskCreate a .env file in the root folder with the following content:
TFE_HOSTNAME=localhost
TFE_LICENSE=Self-signed TLS certs with the FQDN localhost are located in the folder certs and can be replaced if required.
Taskfile.yml contains automation commands to manage the stack.
Launch the docker compose stack with the following command:
task upNavigate to the following urls:
- http://localhost:3000/ - Grafana
- http://localhost:9090/ - Prometheus
- https://localhost/ - Terraform Enterprise
Open the Terraform Enterprise UI with the following command:
task uiCheck the logs of the stack with the following command:
task logsCheck the status of the stack tfe tfe-health-check-status with the following command:
task statusCheck the health of the stack via API /_health_check?full=1 with the following command:
task healthDestroy the stack with the following command:
task clean- Fix Grafana dashboard