forked from clan/clan-infra
Server infrastructure for the clan project
Flake lock file updates: • Updated input 'homepage': 'git+https://git.clan.lol/clan/clan-homepage?ref=refs/heads/main&rev=6945dec58540309022103516bd4d12ce3810e0a3' (2023-07-05) → 'git+https://git.clan.lol/clan/clan-homepage?ref=refs/heads/main&rev=ffe31cffbdcc22fbf92bde02beda9b17aebe6a82' (2023-07-05) |
||
---|---|---|
modules | ||
targets | ||
terraform | ||
.envrc | ||
.envrc.private-template | ||
.gitignore | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE.md | ||
README.md |
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