diff options
| author | Grant Limberg <[email protected]> | 2023-04-25 12:44:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-25 12:44:18 -0700 |
| commit | e4cb74896b01e96b5feb09b9bc906ae818b6ff5d (patch) | |
| tree | 89967a72584361aa31111f729f545b59f9feadfe /ext | |
| parent | 8e6e4ede6d17d1cf3c012269ab29e1c58568476e (diff) | |
Central startup update (#1973)
* allow specifying authtoken in central startup
* set allowManagedFrom
* move redis_mem_notification to the correct place
* add node checkins metric
* wire up min/max connection pool size metrics
Diffstat (limited to 'ext')
| -rwxr-xr-x | ext/central-controller-docker/main.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/central-controller-docker/main.sh b/ext/central-controller-docker/main.sh index 9db5e4f2..a258c090 100755 --- a/ext/central-controller-docker/main.sh +++ b/ext/central-controller-docker/main.sh @@ -58,6 +58,9 @@ mkdir -p /var/lib/zerotier-one pushd /var/lib/zerotier-one ln -s $ZT_IDENTITY_PATH/identity.public identity.public ln -s $ZT_IDENTITY_PATH/identity.secret identity.secret +if [ -f "$ZT_IDENTITY_PATH/authtoken.secret" ]; then + ln -s $ZT_IDENTITY_PATH/authtoken.secret authtoken.secret +fi popd DEFAULT_PORT=9993 @@ -74,6 +77,7 @@ echo "{ \"nat64\" ], \"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\", + \"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"], ${REDIS} } } |
