Server infrastructure for the clan project
Go to file
2023-07-11 20:25:13 +02:00
modules package zerotier tcp proxies 2023-07-11 20:25:13 +02:00
pkgs package zerotier tcp proxies 2023-07-11 20:25:13 +02:00
targets redeploy web01 2023-07-11 17:37:23 +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 add sops-nix 2023-07-05 17:19:22 +02:00
flake.nix deploy binary cache 2023-07-05 17:27: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