move integration to yaml, add new derp configuration
This commit is contained in:
parent
0e902fe949
commit
d875cca69d
2 changed files with 20 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"server_url": "http://headscale:8080",
|
|
||||||
"listen_addr": "0.0.0.0:8080",
|
|
||||||
"private_key_path": "private.key",
|
|
||||||
"derp_map_path": "derp.yaml",
|
|
||||||
"ephemeral_node_inactivity_timeout": "30m",
|
|
||||||
"db_type": "sqlite3",
|
|
||||||
"db_path": "/tmp/integration_test_db.sqlite3",
|
|
||||||
"acl_policy_path": "",
|
|
||||||
"log_level": "trace",
|
|
||||||
"dns_config": {
|
|
||||||
"nameservers": [
|
|
||||||
"1.1.1.1"
|
|
||||||
],
|
|
||||||
"domains": [],
|
|
||||||
"magic_dns": true,
|
|
||||||
"base_domain": "headscale.net"
|
|
||||||
}
|
|
||||||
}
|
|
20
integration_test/etc/config.yaml
Normal file
20
integration_test/etc/config.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
log_level: trace
|
||||||
|
acl_policy_path: ""
|
||||||
|
db_type: sqlite3
|
||||||
|
ephemeral_node_inactivity_timeout: 30m
|
||||||
|
dns_config:
|
||||||
|
base_domain: headscale.net
|
||||||
|
magic_dns: true
|
||||||
|
domains: []
|
||||||
|
nameservers:
|
||||||
|
- 1.1.1.1
|
||||||
|
db_path: /tmp/integration_test_db.sqlite3
|
||||||
|
private_key_path: private.key
|
||||||
|
listen_addr: 0.0.0.0:8080
|
||||||
|
server_url: http://headscale:8080
|
||||||
|
|
||||||
|
derp:
|
||||||
|
urls:
|
||||||
|
- https://controlplane.tailscale.com/derpmap/default
|
||||||
|
auto_update_enabled: false
|
||||||
|
update_frequency: 1m
|
Loading…
Reference in a new issue