Fix README + create dev config file
This commit is contained in:
parent
5faf069e33
commit
57c6e1c877
@ -67,7 +67,10 @@ node_key = "/path/to/garage/pki/garage.key"
|
|||||||
|
|
||||||
[s3_api]
|
[s3_api]
|
||||||
api_bind_addr = "[::1]:3900" # the S3 API port, HTTP without TLS. Add a reverse proxy for the TLS part.
|
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`.
|
Build Garage using `cargo build --release`.
|
||||||
|
20
config.dev.toml
Normal file
20
config.dev.toml
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user