Force Garage to use ipv6 connectivity
This commit is contained in:
parent
2dad5700d3
commit
72606368bf
3 changed files with 3 additions and 20 deletions
|
@ -5,7 +5,8 @@ data_dir = "/data"
|
||||||
|
|
||||||
replication_mode = "3"
|
replication_mode = "3"
|
||||||
|
|
||||||
rpc_bind_addr = "[::]:3901"
|
rpc_bind_addr = "[{{ env "meta.public_ipv6" }}]:3901"
|
||||||
|
rpc_public_addr = "[{{ env "meta.public_ipv6" }}]:3901"
|
||||||
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
|
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
|
||||||
|
|
||||||
sled_cache_capacity = 536870912
|
sled_cache_capacity = 536870912
|
||||||
|
|
|
@ -81,25 +81,6 @@ job "garage" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
|
||||||
tags = ["garage-rpc"]
|
|
||||||
port = 3901
|
|
||||||
address_mode = "driver"
|
|
||||||
name = "garage-rpc"
|
|
||||||
check {
|
|
||||||
type = "tcp"
|
|
||||||
port = 3901
|
|
||||||
address_mode = "driver"
|
|
||||||
interval = "60s"
|
|
||||||
timeout = "5s"
|
|
||||||
check_restart {
|
|
||||||
limit = 3
|
|
||||||
grace = "90s"
|
|
||||||
ignore_warnings = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
service {
|
service {
|
||||||
tags = [
|
tags = [
|
||||||
"garage-web",
|
"garage-web",
|
||||||
|
|
|
@ -300,6 +300,7 @@ in
|
||||||
network_interface = "wg0";
|
network_interface = "wg0";
|
||||||
meta = {
|
meta = {
|
||||||
"site" = cfg.site_name;
|
"site" = cfg.site_name;
|
||||||
|
"public_ipv6" = cfg.ipv6;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
tls = {
|
tls = {
|
||||||
|
|
Loading…
Reference in a new issue