aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cluster/prod/app/garage/config/garage.toml13
1 files changed, 2 insertions, 11 deletions
diff --git a/cluster/prod/app/garage/config/garage.toml b/cluster/prod/app/garage/config/garage.toml
index 0a25255..36daa5d 100644
--- a/cluster/prod/app/garage/config/garage.toml
+++ b/cluster/prod/app/garage/config/garage.toml
@@ -6,17 +6,8 @@ db_engine = "lmdb"
replication_mode = "3"
-# IPv6 config using the ipv6 address statically defined in Nomad's node metadata
-# make sure to put back double { and } if re-enabling this
-#rpc_bind_addr = "[{ env "meta.public_ipv6" }]:3901"
-#rpc_public_addr = "[{ env "meta.public_ipv6" }]:3901"
-
-# IPv6 config using the ipv6 address dynamically detected from diplonat
-{{ with $a := env "attr.unique.hostname" | printf "diplonat/autodiscovery/ipv6/%s" | key | parseJSON }}
-rpc_bind_addr = "[{{ $a.address }}]:3901"
-rpc_public_addr = "[{{ $a.address }}]:3901"
-{{ end }}
-
+rpc_bind_addr = "[{{ env "meta.public_ipv6" }}]:3901"
+rpc_public_addr = "[{{ env "meta.public_ipv6" }}]:3901"
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
[consul_discovery]