forked from Deuxfleurs/nixcfg
staging: ipv6-only diplonat for automatic address discovery
This commit is contained in:
parent
a31c6d109e
commit
cb8d7e92d2
1 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@ job "core-system" {
|
||||||
stagger = "1m"
|
stagger = "1m"
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
group "diplonat" {
|
group "diplonat" {
|
||||||
task "diplonat" {
|
task "diplonat" {
|
||||||
driver = "nix2"
|
driver = "nix2"
|
||||||
|
@ -21,7 +20,7 @@ job "core-system" {
|
||||||
config {
|
config {
|
||||||
packages = [
|
packages = [
|
||||||
"#iptables",
|
"#iptables",
|
||||||
"git+https://git.deuxfleurs.fr/Deuxfleurs/diplonat.git?ref=main&rev=f306e8dc8d0e93478353ce39b6064e8c06a8bca6"
|
"git+https://git.deuxfleurs.fr/Deuxfleurs/diplonat.git?ref=stun&rev=21ab77b8288630c5f39a30b098c6a3888df622a1"
|
||||||
]
|
]
|
||||||
command = "diplonat"
|
command = "diplonat"
|
||||||
}
|
}
|
||||||
|
@ -53,6 +52,7 @@ job "core-system" {
|
||||||
data = <<EOH
|
data = <<EOH
|
||||||
DIPLONAT_REFRESH_TIME=60
|
DIPLONAT_REFRESH_TIME=60
|
||||||
DIPLONAT_EXPIRATION_TIME=300
|
DIPLONAT_EXPIRATION_TIME=300
|
||||||
|
DIPLONAT_IPV6_ONLY=true
|
||||||
DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }}
|
DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }}
|
||||||
DIPLONAT_CONSUL_URL=https://localhost:8501
|
DIPLONAT_CONSUL_URL=https://localhost:8501
|
||||||
DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt
|
DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt
|
||||||
|
@ -69,7 +69,6 @@ EOH
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
group "tricot" {
|
group "tricot" {
|
||||||
network {
|
network {
|
||||||
|
|
Loading…
Reference in a new issue