2022-08-29 13:42:43 +02:00
|
|
|
---
|
|
|
|
# see: https://github.com/juanfont/headscale/blob/main/docs/running-headscale-container.md
|
|
|
|
|
|
|
|
server_url: "https://{{ headscale_domain }}"
|
2023-01-16 17:14:54 +01:00
|
|
|
|
2022-08-29 13:42:43 +02:00
|
|
|
listen_addr: 0.0.0.0:8080
|
2023-01-16 17:14:54 +01:00
|
|
|
|
|
|
|
metrics_listen_addr: 127.0.0.1:9090
|
2022-08-29 13:42:43 +02:00
|
|
|
|
|
|
|
grpc_listen_addr: 0.0.0.0:50443
|
|
|
|
grpc_allow_insecure: false
|
|
|
|
|
|
|
|
private_key_path: /var/lib/headscale/private.key
|
|
|
|
|
|
|
|
noise:
|
|
|
|
private_key_path: /var/lib/headscale/noise_private.key
|
|
|
|
|
|
|
|
ip_prefixes:
|
|
|
|
- fd7a:115c:a1e0::/48
|
|
|
|
- 100.64.0.0/10
|
|
|
|
|
|
|
|
derp:
|
|
|
|
server:
|
|
|
|
enabled: false
|
|
|
|
region_id: 999
|
|
|
|
region_code: "headscale"
|
|
|
|
region_name: "Headscale Embedded DERP"
|
|
|
|
stun_listen_addr: "0.0.0.0:3478"
|
|
|
|
urls:
|
|
|
|
- https://controlplane.tailscale.com/derpmap/default
|
|
|
|
paths: []
|
|
|
|
auto_update_enabled: true
|
|
|
|
update_frequency: 24h
|
|
|
|
|
|
|
|
disable_check_updates: false
|
|
|
|
|
|
|
|
ephemeral_node_inactivity_timeout: 30m
|
|
|
|
|
|
|
|
node_update_check_interval: 10s
|
|
|
|
|
|
|
|
db_type: sqlite3
|
|
|
|
db_path: /var/lib/headscale/db.sqlite
|
|
|
|
|
|
|
|
acme_url: https://acme-v02.api.letsencrypt.org/directory
|
|
|
|
acme_email: ""
|
|
|
|
tls_letsencrypt_hostname: ""
|
|
|
|
tls_letsencrypt_cache_dir: /var/lib/headscale/cache
|
|
|
|
tls_letsencrypt_challenge_type: HTTP-01
|
|
|
|
tls_letsencrypt_listen: ":http"
|
|
|
|
tls_cert_path: ""
|
|
|
|
tls_key_path: ""
|
|
|
|
|
2023-01-16 17:14:54 +01:00
|
|
|
log:
|
|
|
|
format: text
|
|
|
|
level: info
|
2022-08-29 13:42:43 +02:00
|
|
|
|
|
|
|
acl_policy_path: ""
|
|
|
|
|
|
|
|
dns_config:
|
|
|
|
nameservers:
|
|
|
|
- 1.1.1.1
|
|
|
|
domains: []
|
|
|
|
magic_dns: true
|
2023-01-16 17:14:54 +01:00
|
|
|
|
2022-08-29 13:42:43 +02:00
|
|
|
base_domain: "{{ headscale_domain }}"
|
|
|
|
|
|
|
|
unix_socket: /var/run/headscale.sock
|
|
|
|
unix_socket_permission: "0770"
|
|
|
|
|
|
|
|
logtail:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
randomize_client_port: false
|