Improve deployment doc
This commit is contained in:
parent
d442b9a068
commit
45a0e850ce
1 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,7 @@ Basically:
|
||||||
- The new administrator clone the repo and check that they can decrypt the secrets
|
- The new administrator clone the repo and check that they can decrypt the secrets
|
||||||
- Finally, the new administrator must choose a password to operate over SSH with `./passwd prod rick` where `rick` is the target username
|
- Finally, the new administrator must choose a password to operate over SSH with `./passwd prod rick` where `rick` is the target username
|
||||||
|
|
||||||
|
|
||||||
## How to create files for a new zone
|
## How to create files for a new zone
|
||||||
|
|
||||||
*The documentation is written for the production cluster, the same apply for other clusters.*
|
*The documentation is written for the production cluster, the same apply for other clusters.*
|
||||||
|
@ -27,7 +28,9 @@ Basically:
|
||||||
Basically:
|
Basically:
|
||||||
- Create your `site` file in `cluster/prod/site/` folder
|
- Create your `site` file in `cluster/prod/site/` folder
|
||||||
- Create your `node` files in `cluster/prod/node/` folder
|
- Create your `node` files in `cluster/prod/node/` folder
|
||||||
- Add your wireguard configuration to `cluster/prod/cluster.nix` (you will have to edit your NAT config manually)
|
- Add your wireguard configuration to `cluster/prod/cluster.nix`
|
||||||
|
- You will have to edit your NAT config manually
|
||||||
|
- To get your node's wg public key, you must run `./deploy_prod prod <node>`, see the next section for more information
|
||||||
|
|
||||||
## How to deploy a Nix configuration on a fresh node
|
## How to deploy a Nix configuration on a fresh node
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue