Server infrastructure for the clan project
Go to file
2023-07-13 11:18:05 +02:00
.gitea/workflows set up gitea actions runner 2023-07-13 11:05:07 +02:00
modules gitea: also set APP_DATA_PATH 2023-07-13 11:18:05 +02:00
pkgs set up gitea actions runner 2023-07-13 11:05:07 +02:00
targets gitea: also set APP_DATA_PATH 2023-07-13 11:18:05 +02:00
terraform deploy binary cache 2023-07-05 17:27:07 +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 first commit 2023-07-04 17:52:06 +02:00
.sops.yaml add sops-nix 2023-07-05 17:19:22 +02:00
flake.lock set up gitea actions runner 2023-07-13 11:05:07 +02:00
flake.nix set up gitea actions runner 2023-07-13 11:05:07 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md add README on how to use repo 2023-07-05 16:10:04 +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:
    • 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