Fix BASE_DOMAIN

This commit is contained in:
3wc
2026-03-06 14:10:52 -05:00
parent 4ba74fb0ba
commit e8584233fe
3 changed files with 5 additions and 2 deletions

View File

@ -6,3 +6,6 @@ DOMAIN=headscale.example.com
#EXTRA_DOMAINS=', `www.headscale.example.com`'
LETS_ENCRYPT_ENV=production
# Defines the base domain to create the hostnames for MagicDNS.
BASE_DOMAIN=f0x.lan

View File

@ -1,3 +1,3 @@
# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
export CONFIG_YAML_VERSION=v1
export CONFIG_YAML_VERSION=v3

View File

@ -274,7 +274,7 @@ dns:
# `base_domain` must be a FQDN, without the trailing dot.
# The FQDN of the hosts will be
# `hostname.base_domain` (e.g., _myhost.example.com_).
base_domain: example.com
base_domain: {{ env "BASE_DOMAIN" }}
# Whether to use the local DNS settings of a node or override the local DNS
# settings (default) and force the use of Headscale's DNS configuration.