1
0
forked from clan/clan-infra

add README on how to use repo

This commit is contained in:
Jörg Thalheim 2023-07-05 16:10:04 +02:00
parent 952322b3ce
commit 2135c50160

34
README.md Normal file
View File

@ -0,0 +1,34 @@
# clan-infra
This repository contains nixos modules and terraform code that powers clan.lol.
The website and git hosting is currently on [hetzner](https://www.hetzner.com/).
## 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
```