diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-15 11:57:24 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-15 11:57:24 +0200 |
commit | 72606368bf4771c36995a9145b120b697e38d95b (patch) | |
tree | 300339f50aabd13a3ac5db30daaee5894e67ab3d /cluster/prod/app/garage/config/garage.toml | |
parent | 2dad5700d3ca773d79c87bc7da02852e57270b93 (diff) | |
download | nixcfg-72606368bf4771c36995a9145b120b697e38d95b.tar.gz nixcfg-72606368bf4771c36995a9145b120b697e38d95b.zip |
Force Garage to use ipv6 connectivity
Diffstat (limited to 'cluster/prod/app/garage/config/garage.toml')
-rw-r--r-- | cluster/prod/app/garage/config/garage.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cluster/prod/app/garage/config/garage.toml b/cluster/prod/app/garage/config/garage.toml index 224c755..44e7ba0 100644 --- a/cluster/prod/app/garage/config/garage.toml +++ b/cluster/prod/app/garage/config/garage.toml @@ -5,7 +5,8 @@ data_dir = "/data" 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 }}" sled_cache_capacity = 536870912 |