Env var for config location #289

Closed
opened 2025-12-29 01:26:14 +01:00 by adam · 0 comments
Owner

Originally created by @0x1a8510f2 on GitHub (Jul 10, 2022).

Feature request

I'm currently running headscale in Docker and have placed the config in /var/lib/headscale/ for the sake of convenience (then I only need one Docker volume). Sadly, this makes using the CLI very inconvenient in turn as I have to specify the config location each time.

As a simple solution, I think it would be great to be able to specify the config location via env var.

Originally created by @0x1a8510f2 on GitHub (Jul 10, 2022). <!-- Headscale is a multinational community across the globe. Our common language is English. Please consider raising the feature request in this language. --> **Feature request** I'm currently running headscale in Docker and have placed the config in `/var/lib/headscale/` for the sake of convenience (then I only need one Docker volume). Sadly, this makes using the CLI very inconvenient in turn as I have to specify the config location each time. As a simple solution, I think it would be great to be able to specify the config location via env var.
adam added the enhancement label 2025-12-29 01:26:14 +01:00
adam closed this issue 2025-12-29 01:26:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#289