aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-06 14:23:56 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-06 14:23:56 +0100
commit154f71f41003fa9e0e26312ac2aaeff2dcc83082 (patch)
treefb017e17da442f5b688c4d90778b2bf6221b34a6
parent0d3bc169ee66d937bf88a8b7ee284043ce4a9bcd (diff)
downloadgarage-154f71f41003fa9e0e26312ac2aaeff2dcc83082.tar.gz
garage-154f71f41003fa9e0e26312ac2aaeff2dcc83082.zip
Fix README + create dev config file
-rw-r--r--README.md5
-rw-r--r--config.dev.toml20
2 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9cde4f6c..b8b0287b 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,10 @@ node_key = "/path/to/garage/pki/garage.key"
[s3_api]
api_bind_addr = "[::1]:3900" # the S3 API port, HTTP without TLS. Add a reverse proxy for the TLS part.
-region = "garage" # set this to anything. S3 API calls will fail if they are not made against the region set here.
+s3_region = "garage" # set this to anything. S3 API calls will fail if they are not made against the region set here.
+
+[s3_web]
+web_bind_addr = "[::1]:3902"
```
Build Garage using `cargo build --release`.
diff --git a/config.dev.toml b/config.dev.toml
new file mode 100644
index 00000000..966bee4b
--- /dev/null
+++ b/config.dev.toml
@@ -0,0 +1,20 @@
+block_size = 1048576 # objects are split in blocks of maximum this number of bytes
+
+metadata_dir = "/tmp/garage-meta"
+data_dir = "/tmp/garage-data"
+
+rpc_bind_addr = "[::]:3901" # the port other Garage nodes will use to talk to this node
+
+bootstrap_peers = []
+
+max_concurrent_rpc_requests = 12
+data_replication_factor = 3
+meta_replication_factor = 3
+meta_epidemic_fanout = 3
+
+[s3_api]
+api_bind_addr = "[::1]:3900" # 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]
+web_bind_addr = "[::1]:3902"