mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
migration to headscale v0.23.0
This commit is contained in:
parent
d5fe809517
commit
bfc6fb3b1a
2 changed files with 11 additions and 7 deletions
|
@ -56,7 +56,7 @@ services:
|
|||
- headscale_data:/var/lib/headscale
|
||||
networks:
|
||||
- fogtype
|
||||
command: headscale serve
|
||||
command: serve
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
server_url: https://net.fogtype.com
|
||||
listen_addr: 0.0.0.0:8080
|
||||
metrics_listen_addr: 0.0.0.0:9200
|
||||
db_type: sqlite3
|
||||
db_path: /var/lib/headscale/db.sqlite
|
||||
private_key_path: /var/lib/headscale/private.key
|
||||
database:
|
||||
type: sqlite3
|
||||
sqlite:
|
||||
path: /var/lib/headscale/db.sqlite
|
||||
noise:
|
||||
private_key_path: /var/lib/headscale/noise_private.key
|
||||
ip_prefixes:
|
||||
- fd7a:115c:a1e0::/48
|
||||
- 100.64.0.0/10
|
||||
prefixes:
|
||||
v6: fd7a:115c:a1e0::/48
|
||||
v4: 100.64.0.0/10
|
||||
derp:
|
||||
server:
|
||||
enabled: true
|
||||
|
@ -16,3 +17,6 @@ derp:
|
|||
region_code: "headscale"
|
||||
region_name: "Headscale Embedded DERP"
|
||||
stun_listen_addr: "0.0.0.0:3478"
|
||||
private_key_path: /var/lib/headscale/private.key
|
||||
dns:
|
||||
magic_dns: false
|
||||
|
|
Loading…
Add table
Reference in a new issue