forked from Deuxfleurs/nixcfg
Simpler IPv6 config for Garage
This commit is contained in:
parent
132ad670a1
commit
233556e9ef
1 changed files with 2 additions and 4 deletions
|
@ -6,10 +6,8 @@ db_engine = "lmdb"
|
||||||
|
|
||||||
replication_mode = "3"
|
replication_mode = "3"
|
||||||
|
|
||||||
{{ with $a := env "attr.unique.hostname" | printf "diplonat/autodiscovery/ipv6/%s" | key | parseJSON }}
|
rpc_bind_addr = "[{{ env "meta.public_ipv6" }}]:3901"
|
||||||
rpc_bind_addr = "[{{ $a.address }}]:3901"
|
rpc_public_addr = "[{{ env "meta.public_ipv6" }}]:3901"
|
||||||
rpc_public_addr = "[{{ $a.address }}]:3901"
|
|
||||||
{{ end }}
|
|
||||||
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
|
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
|
||||||
|
|
||||||
[consul_discovery]
|
[consul_discovery]
|
||||||
|
|
Loading…
Reference in a new issue