mirror of
https://github.com/juanfont/headscale.git
synced 2025-03-13 23:12:54 -04:00
heredoc contents of derp-example.yaml
This commit is contained in:
parent
c794f32f58
commit
8e47d19273
@ -11,7 +11,24 @@ public-proto=http
|
|||||||
contact-email=headscale@example.com
|
contact-email=headscale@example.com
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
[ ! -e base/site/derp.yaml ] && cp ../derp.yaml base/site/derp.yaml
|
[ ! -e base/site/derp.yaml ] && (
|
||||||
|
cat >base/site/derp.yaml <<EOF
|
||||||
|
regions:
|
||||||
|
900:
|
||||||
|
regionid: 900
|
||||||
|
regioncode: custom
|
||||||
|
regionname: My Region
|
||||||
|
nodes:
|
||||||
|
- name: 900a
|
||||||
|
regionid: 900
|
||||||
|
hostname: myderp.mydomain.no
|
||||||
|
ipv4: 123.123.123.123
|
||||||
|
ipv6: "2604:a880:400:d1::828:b001"
|
||||||
|
stunport: 0
|
||||||
|
stunonly: false
|
||||||
|
derptestport: 0
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
umask 077
|
umask 077
|
||||||
mkdir -p base/secrets/
|
mkdir -p base/secrets/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user