WIP: Subnet #21
@@ -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=""
|
||||
|
||||
+4
-1
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user