Remove references to NEBULA_IP as it's not required
This commit is contained in:
parent
f7b5a97db8
commit
346a71e79c
|
@ -57,5 +57,4 @@ Distributed & E2EE self-hosting. The goal is to have nodes voluntarily join the
|
|||
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 and your chosen hostname to a cluster admin to sign.
|
||||
7. The signed certificate should go alongside the `host.csr` file and be called, `host.crt`.
|
||||
8. The admin should have also provided an IP address in CIDR notation (e.g. `10.10.100.99/24`). Set that with the `NEBULA_IP` environment variable in the `docker-compose.yaml`.
|
||||
9. Start the container again and it should find the config and certificates and then connect to the existing cluster.
|
||||
8. Start the container again and it should find the config and certificates and then connect to the existing cluster.
|
||||
|
|
|
@ -13,4 +13,3 @@ services:
|
|||
- /dev/net/tun
|
||||
environment:
|
||||
- TZ=Europe/London
|
||||
- NEBULA_IP=10.10.100.x/24
|
||||
|
|
|
@ -28,10 +28,5 @@ if ! test -f ${DATA_DIR}/host.crt; then
|
|||
fi
|
||||
# -----------------------------------------------------------
|
||||
|
||||
if test -z "${NEBULA_IP}" -o "${NEBULA_IP}" == '10.10.100.x/24'; then
|
||||
echo 'You did not set a valid value for the environment variable NEBULA_IP'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run the platform-specific binary
|
||||
"${BIN_DIR}/nebula" -config ${DATA_DIR}/config.yaml
|
||||
|
|
Loading…
Reference in a new issue