diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-08-29 13:41:00 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-08-29 13:41:00 +0300 |
commit | 8210b21491922f765d2b29e7b02032a89a027603 (patch) | |
tree | e45cf6df7f6744508bc8e1257d18f8470fae7f3c | |
parent | 9453022b5e91029e958890d0ac17aa3de14f1207 (diff) |
Update example praefect config
-rw-r--r-- | config.praefect.toml.example | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example index dcd4194ac..bbaaf8f65 100644 --- a/config.praefect.toml.example +++ b/config.praefect.toml.example @@ -21,17 +21,14 @@ listen_addr = "127.0.0.1:2305" # as shard. listen_addr should be unique for all nodes. # Requires the protocol to be defined, e.g. tcp://host.tld:1234 -[primary_server] - name = "default" - listen_addr = "tcp://gitaly-primary.example.com" - token = "abcd1234" +[[node]] + storage = "praefect-git-0" + address = "tcp://praefect-git-0.internal" -# [[secondary_server]] -# name = "backup-1" -# listen_addr = "tcp://gitaly-backup1.example.com" -# token = "abcd1234" +[[node]] + storage = "praefect-git-1" + address = "tcp://praefect-git-1.internal" -# [[secondary_server]] -# name = "backup-2" -# listen_addr = "tcp://gitaly-backup2.example.com" -# token = "abcd1234" +[[node]] + storage = "praefect-git-2" + address = "tcp://praefect-git-2.internal" |