Skip to content

Commit

Permalink
add info about multiple hosts for remote config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-konovalov authored and sagikazarmark committed Nov 29, 2023
1 parent 7a9716b commit 1c76491
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ in a Key/Value store such as etcd or Consul. These values take precedence over
default values, but are overridden by configuration values retrieved from disk,
flags, or environment variables.

Viper supports multiple hosts. To use, pass a list of endpoints separated by `;`. For example `http://127.0.0.1:4001;http://127.0.0.1:4002`.

Viper uses [crypt](https://github.com/bketelsen/crypt) to retrieve
configuration from the K/V store, which means that you can store your
configuration values encrypted and have them automatically decrypted if you have
Expand Down

0 comments on commit 1c76491

Please sign in to comment.