aboutsummaryrefslogtreecommitdiff
path: root/script/dev-cluster.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-17 19:30:31 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-17 22:13:11 +0100
commit3b023c0c3b985dc1c04c8545351b5ba20cf9189e (patch)
treeb4dcf8443ed7284538821f2dfb7d42127dfa0182 /script/dev-cluster.sh
parentb5dc4d33a993ac285cd9c66d5363c3506eac25fc (diff)
downloadgarage-3b023c0c3b985dc1c04c8545351b5ba20cf9189e.tar.gz
garage-3b023c0c3b985dc1c04c8545351b5ba20cf9189e.zip
try to fix smoke test
dev cluster: don't ipv6 (fixes smoke test in container?)
Diffstat (limited to 'script/dev-cluster.sh')
-rwxr-xr-xscript/dev-cluster.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/script/dev-cluster.sh b/script/dev-cluster.sh
index 9da72909..addbf4b4 100755
--- a/script/dev-cluster.sh
+++ b/script/dev-cluster.sh
@@ -24,11 +24,11 @@ cat > $CONF_PATH <<EOF
block_size = 1048576 # objects are split in blocks of maximum this number of bytes
metadata_dir = "/tmp/garage-meta-$count"
data_dir = "/tmp/garage-data-$count"
-rpc_bind_addr = "[::]:$((3900+$count))" # the port other Garage nodes will use to talk to this node
+rpc_bind_addr = "0.0.0.0:$((3900+$count))" # the port other Garage nodes will use to talk to this node
bootstrap_peers = [
- "[::1]:3901",
- "[::1]:3902",
- "[::1]:3903"
+ "127.0.0.1:3901",
+ "127.0.0.1:3902",
+ "127.0.0.1:3903"
]
max_concurrent_rpc_requests = 12
data_replication_factor = 3
@@ -36,11 +36,11 @@ meta_replication_factor = 3
meta_epidemic_fanout = 3
[s3_api]
-api_bind_addr = "[::]:$((3910+$count))" # the S3 API port, HTTP without TLS. Add a reverse proxy for the TLS part.
+api_bind_addr = "0.0.0.0:$((3910+$count))" # the S3 API port, HTTP without TLS. Add a reverse proxy for the TLS part.
s3_region = "garage" # set this to anything. S3 API calls will fail if they are not made against the region set here.
[s3_web]
-bind_addr = "[::]:$((3920+$count))"
+bind_addr = "0.0.0.0:$((3920+$count))"
root_domain = ".garage.tld"
index = "index.html"
EOF