Go to file
vincent 61d182dfe6
Some checks failed
continuous-integration/drone/push Build is failing
factorize consul domain on corwin
2023-10-29 15:36:05 +01:00
ansible factorize consul domain on corwin 2023-10-29 15:36:05 +01:00
consul_service fix: proxy smtp port 25 issue 2023-10-07 18:40:40 +02:00
docs docs: add DNS ADR 2023-10-22 16:10:22 +02:00
infra fix: missing NS entry for trafieck acme 2023-10-21 14:02:05 +02:00
nomad-job increase prometheus memory 2023-10-23 19:16:47 +02:00
vault configure alertmanager smtp alert 2023-10-07 17:34:17 +02:00
.drone.yml fix: add data to vault sevret path 2022-11-29 20:09:13 +01:00
.gitignore create vagrant file and adapt process 2023-08-25 13:56:18 +02:00
.markdownlint.yaml style: lint markdown 2022-11-29 22:08:34 +01:00
.yamllint CI: Add yamllint config file 2022-11-29 21:11:00 +01:00
makefile add base dev 2023-10-29 15:35:30 +01:00
mkdocs.yml README alias 2022-10-16 15:10:38 +02:00
README.md docs: add vagrant docs 2023-08-25 14:12:22 +02:00
Vagrantfile vagrant: bootstrap per VM 2023-10-29 15:29:20 +01:00

Homelab

This repository contain my homelab Infrastructure As Code

this Homelab is build over Hashicorp software stack:

  • Nomad
  • Consul
  • Vault

Dev

dev stack is build over vagrant box with libvirt provider

curently need to have vault and ldap production up to be correctly provision

to launch dev stack provissionning :

make create-dev

Rebuild

to rebuild from scratch ansible need a vault server up and unseal you can rebuild a standalone vault server with a consul database snaphot with

make vault-dev FILE=./yourconsulsnaphot.snap

Architecture

flowchart LR
  subgraph Home
  bleys[bleys]
  oscar[oscar]
  gerard[gerard]
  LAN
  NAS
  end
  subgraph Cloud
  corwin[corwin]
  end
  LAN--main road--ooscar
  LAN --- bleys
  LAN --- gerard
  LAN --- NAS
  bleys <--wireguard--> corwin
  oscar <--wiregard--> corwin
  gerard <--wiregard--> corwin
  corwin <--> internet