mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 12:23:03 +02:00
redis: add redis cluster support (#1992)
* redis: add redis cluster support * redis: update docs
This commit is contained in:
parent
0b1e89925a
commit
77fe37c8c0
9 changed files with 386 additions and 12 deletions
|
@ -952,6 +952,14 @@ The backend storage that databroker server will use.
|
|||
|
||||
The connection string that the databroker service will use to connect to storage backend.
|
||||
|
||||
For `redis`, the following URL types are supported:
|
||||
|
||||
- simple: `redis://{username}:{password}@{host}:{port}/{db}`
|
||||
- sentinel: `redis+sentinel://[:password@]host:port[,host2:port2,...]/[master_name[/db]][?param1=value1[¶m2=value2&...]]`
|
||||
- cluster: `redis+cluster://[username:password@]host:port[,host2:port2,...]/[?param1=value1[¶m2=value=2&...]]`
|
||||
|
||||
You can also enable TLS with `rediss://`, `rediss+sentinel://` and `rediss+cluster://`.
|
||||
|
||||
|
||||
### Data Broker Storage Certificate File
|
||||
- Environment Variable: `DATABROKER_STORAGE_CERT_FILE`
|
||||
|
|
|
@ -1071,6 +1071,14 @@ settings:
|
|||
- Example: `"redis://localhost:6379/0"`, `"rediss://localhost:6379/0"`
|
||||
doc: |
|
||||
The connection string that the databroker service will use to connect to storage backend.
|
||||
|
||||
For `redis`, the following URL types are supported:
|
||||
|
||||
- simple: `redis://[username:password@]host:port/[db]`
|
||||
- sentinel: `redis+sentinel://[:password@]host:port[,host2:port2,...]/[master_name[/db]][?param1=value1[¶m2=value2&...]]`
|
||||
- cluster: `redis+cluster://[username:password@]host:port[,host2:port2,...]/[?param1=value1[¶m2=value=2&...]]`
|
||||
|
||||
You can also enable TLS with `rediss://`, `rediss+sentinel://` and `rediss+cluster://`.
|
||||
- name: "Data Broker Storage Certificate File"
|
||||
keys: ["databroker_storage_cert_file"]
|
||||
attributes: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue