Server infrastructure for the clan project
Go to file
Mic92 58ff91451f
All checks were successful
build / test (push) Successful in 7s
Merge pull request 'package renovate bot' (#11) from renovate-2 into main
Reviewed-on: #11
2023-07-14 13:43:13 +00:00
.gitea/workflows make ci check a bit less verbose 2023-07-13 11:37:15 +02:00
modules dendrite: documentation on how to create users 2023-07-13 19:14:38 +02:00
pkgs package renovate bot 2023-07-14 15:38:13 +02:00
targets drop netlify 2023-07-14 11:02:08 +02:00
terraform drop netlify 2023-07-14 11:02:08 +02:00
.envrc add envrc 2023-07-05 13:50:48 +02:00
.envrc.private-template first commit 2023-07-04 17:52:06 +02:00
.gitignore switch from netlify to hetznerdns 2023-07-13 18:38:20 +02:00
.sops.yaml switch from netlify to hetznerdns 2023-07-13 18:38:20 +02:00
flake.lock flake.lock: Update 2023-07-13 19:14:38 +02:00
flake.nix nixpkgs-fmt: ignore node2nix 2023-07-14 15:42:38 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md README: minor update 2023-07-13 11:19:48 +02:00

clan-infra

This repository contains nixos modules and terraform code that powers clan.lol. The website and git hosting is currently on hetzner.

Servers

  • web01:
    • soon to be replaced by baremetal hardware
    • Instance type: CPX42
    • CPU: 8 vCPUs on AMD
    • RAM: 16GB
    • Drives: 80GB SSD

To deploy new ssh keys on hcloud:

$ cd ./targets/admins
$ ./tf.sh apply

To deploy a server i.e. web01:

$ cd ./targets/web01
$ ./tf.sh apply

To update the website

$ cd ./targets/web01
$ nix flake lock --update-input homepage --commit-lock-file
$ ./tf.sh apply