diff options
author | Paul Okstad <pokstad@gitlab.com> | 2019-09-03 19:19:13 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2019-09-03 19:19:13 +0300 |
commit | 33f2486333d3c4df9c4a8904d4c3c270bc629210 (patch) | |
tree | 91f71e39b5dc35ff1015401dfb4b529db265d067 | |
parent | 5cef89202f4c195186080cfe8cd007c73c936db6 (diff) | |
parent | 8210b21491922f765d2b29e7b02032a89a027603 (diff) |
Merge branch 'zj-config-update' into 'master'
Update example praefect config
See merge request gitlab-org/gitaly!1460
-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" |