Skip to content

dr-rahul-hashi/docker-tfe-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tfe-stack

Description

This repository contains a docker compose stack with the following services:

  • grafana
  • loki
  • prometheus
  • promtail
  • terraform enterprise

Pre-requisites

Install taskfile with the following command:

  brew install go-task

Create 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.

Usage

Taskfile.yml contains automation commands to manage the stack.

Launch the docker compose stack with the following command:

task up

Navigate to the following urls:

Useful commands

Open the Terraform Enterprise UI with the following command:

task ui

Check the logs of the stack with the following command:

task logs

Check the status of the stack tfe tfe-health-check-status with the following command:

task status

Check the health of the stack via API /_health_check?full=1 with the following command:

task health

Destroy the stack with the following command:

task clean

TODO

  • Fix Grafana dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%