WIP: Subnet #21

Draft
fauno wants to merge 2 commits from subnet into main
3 changed files with 8 additions and 2 deletions
+3
View File
@@ -23,6 +23,9 @@ DATA_FSYNC=false
DISABLE_SCRUB=false
BLOCK_SIZE=1MiB # only increase if there is a fast network connection between nodes
# Set this to tell Garage which subnet to pick if you're using IPv6.
#PUBLIC_ADDR_SUBNET=
## Bootstrap this node in an existing Garage cluster
#BOOTSTRAP_HOST=""
#BOOTSTRAP_ID=""
+1 -1
View File
@@ -1 +1 @@
export GARAGE_CONF_VERSION=v7
export GARAGE_CONF_VERSION=v8
+4 -1
View File
@@ -16,6 +16,9 @@ rpc_bind_addr = "[::]:3901"
rpc_public_addr = "{{ env "DOMAIN" }}:3901"
rpc_addr = "[::]:3901"
rpc_secret_file = "/run/secrets/rpc_secret"
{{ if ne (env "PUBLIC_ADDR_SUBNET") "" }}
rpc_public_addr_subnet = "{{ env "PUBLIC_ADDR_SUBNET" }}"
{{ end }}
{{ if ne (env "BOOTSTRAP_ID") "" }}
bootstrap_peers = [
@@ -34,4 +37,4 @@ api_bind_addr = "[::]:3903"
admin_token_file = "/run/secrets/admin_token"
metrics_require_token = true
metrics_token_file = "/run/secrets/metrics_token"
{{ end }}
{{ end }}