headscale-admin icon indicating copy to clipboard operation
headscale-admin copied to clipboard

Request: Is there a non docker installation?

Open Patrick010 opened this issue 7 months ago • 3 comments

As the title says, how do I install this on debian 12, without docker?

Patrick010 avatar May 09 '25 16:05 Patrick010

nm, I've got it installed. Apparently this frontend needs a reverse proxy like Caddy to serve the static pages. Obvious for the informed user, but not for somebody with basic linux knowledge. Next issue; no matter what I try, every page gets redirected to the Settings page. I have entered the server url and made an API key. A little bit more info for novice users would be greatly appreciated!

Patrick010 avatar May 10 '25 14:05 Patrick010

For sure! So yes, the compiled HTML version is provided in each release as just a simple folder. That folder is all that is required to serve headscale-admin. When deploying it outside of a reverse proxy, it means that the domain hosting headscale-admin will necessarily be different from the domain hosting the headscale API, so this means that you must account for the Cross-Origin Resource Sharing (CORS) on the headscale API side.

Image

GoodiesHQ avatar May 12 '25 17:05 GoodiesHQ

nm, I've got it installed. Apparently this frontend needs a reverse proxy like Caddy to serve the static pages. Obvious for the informed user, but not for somebody with basic linux knowledge. Next issue; no matter what I try, every page gets redirected to the Settings page. I have entered the server url and made an API key. A little bit more info for novice users would be greatly appreciated!

It will automatically keep redirecting you back to the settings page until it is able to properly communicate with the backend API. If you open the developer console, it will give you some better insight as to what the errors are/could be.

GoodiesHQ avatar May 12 '25 17:05 GoodiesHQ