Files
cli/sunbeam-net/tests/config/headscale.yaml

45 lines
930 B
YAML
Raw Normal View History

# Headscale configuration for integration tests.
# Ephemeral SQLite, embedded DERP, no OIDC.
server_url: http://headscale:8080
listen_addr: 0.0.0.0:8080
metrics_listen_addr: 0.0.0.0:9090
# Noise protocol (auto-generates key on first start)
noise:
private_key_path: /var/lib/headscale/noise_private.key
# Ephemeral SQLite
database:
type: sqlite
sqlite:
path: /tmp/headscale.db
ip_prefixes:
- 100.64.0.0/10
- fd7a:115c:a1e0::/48
# Embedded DERP relay — clients can relay through Headscale itself
derp:
server:
enabled: true
region_id: 999
region_code: test
region_name: "Integration Test"
stun_listen_addr: 0.0.0.0:3478
private_key_path: /var/lib/headscale/derp_server_private.key
urls: []
auto_update_enabled: false
dns:
magic_dns: false
base_domain: test.sunbeam.internal
prefixes:
v4: 100.64.0.0/10
v6: fd7a:115c:a1e0::/48
allocation: sequential
log:
level: warn