Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
Remove commented lines on traefik template compose file
Fix relay accessibility with traefik reverse proxy (I think my understanding is correct, but please feel free to correct me if I got it wrong)
Instructions here mentioned to update
NETBIRD_MGMT_API_PORT
andNETBIRD_SIGNAL_PORT
to bereverse-proxy TLS-port
but notNETBIRD_RELAY_PORT
, which defaults to33080
.management.json.tmpl
has relay address asrel://$NETBIRD_RELAY_DOMAIN:$NETBIRD_RELAY_PORT
so it will resolve to<netbird_domain>:33080
which in case of using traefik is not accessible. relay should be accessible on<netbird_domain>:<reverse-proxy TLS-port>/relay
Updating traefik template to use port
33080
for relay internally. and I will open another PR to update the docs as well to includeNETBIRD_RELAY_PORT
alongNETBIRD_MGMT_API_PORT
andNETBIRD_SIGNAL_PORT
.Introduce
NETBIRD_RELAY_ENDPOINT
and use it on compose + management template files with valuerel://$NETBIRD_RELAY_DOMAIN:$NETBIRD_RELAY_PORT
whenNETBIRD_DISABLE_LETSENCRYPT=false
rels://$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT/relay
whenNETBIRD_DISABLE_LETSENCRYPT=true
I encountered this setting up a self-hosted instance with traefik, is there a way to verify the changes with my instance?
I tested with running
netbird status -d
I gotChecklist