Back to Home
andrefaria24 icon

Homelab

Verified Safe

by andrefaria24

Overview

This repository provides an Ansible-driven homelab setup for deploying and managing various services, including HashiCorp MCP (Multi-Cloud Platform) servers for Terraform and Vault.

Installation

Run Command
docker compose -f docker/individual/mcp-servers/docker-compose.yml up -d

Environment Variables

  • K3S_TOKEN
  • SMB_ADDR
  • SMB_USER
  • SMB_PASS
  • VERSION
  • SUBDOMAIN
  • DOMAIN
  • HOSTNAME
  • VAULT_HOSTNAME
  • TFE_LICENSE
  • TFE_ENCRYPTION_PASSWORD
  • POSTGRES_PASSWORD
  • PROMETHEUS_HOSTNAME
  • NODE_EXPORTER_HOSTNAME
  • GRAFANA_HOSTNAME
  • TARGET
  • GH_TOKEN
  • GH_OWNER
  • GH_REPOSITORY
  • DOMAIN_NAME
  • GENERIC_TIMEZONE
  • VAULT_ADDR
  • VAULT_TOKEN
  • VAULT_NAMESPACE
  • TFE_ADDRESS
  • TFE_TOKEN

Security Notes

The project follows good security practices by utilizing environment variables for secrets (e.g., `SMB_USER`, `GH_TOKEN`, `POSTGRES_PASSWORD`, `VAULT_TOKEN`) instead of hardcoding them directly in Docker Compose files. Credential files for SMB mounts are created with restrictive permissions (`0600`). However, some placeholders like `k3s_static_token: "<STATIC TOKEN>"` explicitly require user replacement and could pose a risk if left unconfigured. The overall security relies heavily on the user's secure management of `.env` files and proper configuration of services.

Similar Servers

Stats

Interest Score27
Security Score7
Cost ClassHigh
Avg Tokens7500
Stars1
Forks0
Last Update2026-01-08

Tags

HomelabInfrastructure-as-CodeAnsibleDockerKubernetes