aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-06-30 18:37:37 +0200
committerAlex Auvolat <alex@adnab.me>2020-06-30 18:37:37 +0200
commitf0918b377e428f4d7a6afa341cb92bc49dfcac1b (patch)
tree2763fd1a05ca1b5fbc75718fcc1936f1d39843ba
parentfbe8fe81f278aca68de1b686948f94a8c084dcde (diff)
downloadgarage-f0918b377e428f4d7a6afa341cb92bc49dfcac1b.tar.gz
garage-f0918b377e428f4d7a6afa341cb92bc49dfcac1b.zip
Talk about consul discovery in readme
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 04b8718d..9cde4f6c 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,11 @@ bootstrap_peers = [
"10.0.0.3:3901",
]
+# optionnal: garage can find cluster nodes automatically using a Consul server
+# garage only does lookup but does not register itself, registration should be handled externally by e.g. Nomad
+consul_host = "localhost:8500" # optionnal: host name of a Consul server for automatic peer discovery
+consul_service_name = "garage" # optionnal: service name to look up on Consul
+
max_concurrent_rpc_requests = 12
data_replication_factor = 3
meta_replication_factor = 3