[GH-ISSUE #4658] Running netbird besides an already existing caddy setup #9971

Closed
opened 2026-08-05 01:24:10 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @axi92 on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4658

What would be the most maintainable way to add netbird to my setup?
I already have a lot of container services and a caddy infront of them.
My caddy is running on the OS itself and the containers bind to localhost so caddy can reverse proxy to them.

My ideas were maybe changing the ports? But I guess that does not agree with the netbird clients and some firewalls infront of them...

Then including the Caddyfile from netbird into mine is somehow hard because caddy runs inside the container within netbird and all the services are named services that only resolve in that docker network. So there I would need to export all the ports and pin it to my localhost IP?

On the other hand I could maybe migrate my services into netbirds Caddyfile?
But then I would need to link the docker networks, right?
Is it possible to let have netbirds caddy access docker networks from other compose files?
I guess I would have to mark the networks as managed outside.

Originally created by @axi92 on GitHub (Oct 17, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4658 What would be the most maintainable way to add netbird to my setup? I already have a lot of container services and a caddy infront of them. My caddy is running on the OS itself and the containers bind to localhost so caddy can reverse proxy to them. My ideas were maybe changing the ports? But I guess that does not agree with the netbird clients and some firewalls infront of them... Then including the Caddyfile from netbird into mine is somehow hard because caddy runs inside the container within netbird and all the services are named services that only resolve in that docker network. So there I would need to export all the ports and pin it to my localhost IP? On the other hand I could maybe migrate my services into netbirds Caddyfile? But then I would need to link the docker networks, right? Is it possible to let have netbirds caddy access docker networks from other compose files? I guess I would have to mark the networks as managed outside.
Author
Owner

@axi92 commented on GitHub (Mar 4, 2026):

I abandoned that idea.

<!-- gh-comment-id:3998935522 --> @axi92 commented on GitHub (Mar 4, 2026): I abandoned that idea.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9971