mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-12 00:19:47 +02:00
[misc] fix relay exposed address test (#3931)
This commit is contained in:
@ -172,11 +172,11 @@ jobs:
|
|||||||
grep "NETBIRD_STORE_ENGINE_MYSQL_DSN=$NETBIRD_STORE_ENGINE_MYSQL_DSN" docker-compose.yml
|
grep "NETBIRD_STORE_ENGINE_MYSQL_DSN=$NETBIRD_STORE_ENGINE_MYSQL_DSN" docker-compose.yml
|
||||||
grep NETBIRD_STORE_ENGINE_POSTGRES_DSN docker-compose.yml | egrep "$NETBIRD_STORE_ENGINE_POSTGRES_DSN"
|
grep NETBIRD_STORE_ENGINE_POSTGRES_DSN docker-compose.yml | egrep "$NETBIRD_STORE_ENGINE_POSTGRES_DSN"
|
||||||
# check relay values
|
# check relay values
|
||||||
grep "NB_EXPOSED_ADDRESS=$CI_NETBIRD_DOMAIN:33445" docker-compose.yml
|
grep "NB_EXPOSED_ADDRESS=rels://$CI_NETBIRD_DOMAIN:33445" docker-compose.yml
|
||||||
grep "NB_LISTEN_ADDRESS=:33445" docker-compose.yml
|
grep "NB_LISTEN_ADDRESS=:33445" docker-compose.yml
|
||||||
grep '33445:33445' docker-compose.yml
|
grep '33445:33445' docker-compose.yml
|
||||||
grep -A 10 'relay:' docker-compose.yml | egrep 'NB_AUTH_SECRET=.+$'
|
grep -A 10 'relay:' docker-compose.yml | egrep 'NB_AUTH_SECRET=.+$'
|
||||||
grep -A 7 Relay management.json | grep "rel://$CI_NETBIRD_DOMAIN:33445"
|
grep -A 7 Relay management.json | grep "rels://$CI_NETBIRD_DOMAIN:33445"
|
||||||
grep -A 7 Relay management.json | egrep '"Secret": ".+"'
|
grep -A 7 Relay management.json | egrep '"Secret": ".+"'
|
||||||
grep DisablePromptLogin management.json | grep 'true'
|
grep DisablePromptLogin management.json | grep 'true'
|
||||||
grep LoginFlag management.json | grep 0
|
grep LoginFlag management.json | grep 0
|
||||||
|
@ -170,7 +170,7 @@ fi
|
|||||||
if [[ "$NETBIRD_DISABLE_LETSENCRYPT" == "true" ]]; then
|
if [[ "$NETBIRD_DISABLE_LETSENCRYPT" == "true" ]]; then
|
||||||
export NETBIRD_DASHBOARD_ENDPOINT="https://$NETBIRD_DOMAIN:443"
|
export NETBIRD_DASHBOARD_ENDPOINT="https://$NETBIRD_DOMAIN:443"
|
||||||
export NETBIRD_SIGNAL_ENDPOINT="https://$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT"
|
export NETBIRD_SIGNAL_ENDPOINT="https://$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT"
|
||||||
export NETBIRD_RELAY_ENDPOINT="rels://$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT/relay"
|
export NETBIRD_RELAY_ENDPOINT="rels://$NETBIRD_DOMAIN:$NETBIRD_RELAY_PORT/relay"
|
||||||
|
|
||||||
echo "Letsencrypt was disabled, the Https-endpoints cannot be used anymore"
|
echo "Letsencrypt was disabled, the Https-endpoints cannot be used anymore"
|
||||||
echo " and a reverse-proxy with Https needs to be placed in front of netbird!"
|
echo " and a reverse-proxy with Https needs to be placed in front of netbird!"
|
||||||
|
@ -105,12 +105,12 @@ NETBIRD_RELAY_DOMAIN=""
|
|||||||
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
||||||
NETBIRD_RELAY_PORT=""
|
NETBIRD_RELAY_PORT=""
|
||||||
|
|
||||||
# Management API connectin port. If none is supplied
|
# Management API connecting port. If none is supplied
|
||||||
# it will default to 33073
|
# it will default to 33073
|
||||||
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
||||||
NETBIRD_MGMT_API_PORT=""
|
NETBIRD_MGMT_API_PORT=""
|
||||||
|
|
||||||
# Signal service connectin port. If none is supplied
|
# Signal service connecting port. If none is supplied
|
||||||
# it will default to 10000
|
# it will default to 10000
|
||||||
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
# should be updated to match TLS-port of reverse proxy when netbird is running behind reverse proxy
|
||||||
NETBIRD_SIGNAL_PORT=""
|
NETBIRD_SIGNAL_PORT=""
|
||||||
|
Reference in New Issue
Block a user