diff --git a/README.md b/README.md index e6de44c..7a392df 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docker-compose.yaml b/docker-compose.yaml index 64c9987..02b88e9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,4 +13,3 @@ services: - /dev/net/tun environment: - TZ=Europe/London - - NEBULA_IP=10.10.100.x/24 diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 252eb6d..304dca6 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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