Added Lighthouse installation instructions

This commit is contained in:
Scott Wallace 2022-03-31 13:23:09 +01:00
parent 4ecac006fb
commit f8a3b523e0
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -46,6 +46,17 @@ Distributed & E2EE self-hosting. The goal is to have nodes voluntarily join the
The underlaying hardware type shouldn't be a constraint, within reason. The underlaying hardware type shouldn't be a constraint, within reason.
## Lighthouse installation
1. Clone the repo.
2. Create a directory to hold the config and certificates.
3. Copy `lighthouse-config.yaml` as `config.yaml` in the new directory.
4. Update the `docker-compose.yaml` to bind mount the newly created directory to `/etc/nebula`.
5. Run the container with `docker-compose up -d`. This will create two files, `host.key` and `host.csr`.
6. Send the contents of the `host.csr` file to a cluster admin to sign.
7. The returned, signed certificate should go alongside the `host.csr` file and be called, `host.crt`.
8. Start the container again and it should find the config and certificates and then connect to the existing cluster.
9. Update the `static_host_map` entry in the repo's `node-config.yaml` with the new Lighthouse mesh and public IP address and encourage everyone to update their config files from the repo.
## Node installation ## Node installation
1. Clone the repo. 1. Clone the repo.