41 lines
801 B
Markdown
41 lines
801 B
Markdown
|
# Zookeeper backend
|
||
|
|
||
|
Træfik can be configured to use Zookeeper as a backend configuration:
|
||
|
|
||
|
```toml
|
||
|
################################################################
|
||
|
# Zookeeper configuration backend
|
||
|
################################################################
|
||
|
|
||
|
# Enable Zookeeperconfiguration backend
|
||
|
#
|
||
|
# Optional
|
||
|
#
|
||
|
[zookeeper]
|
||
|
|
||
|
# Zookeeper server endpoint
|
||
|
#
|
||
|
# Required
|
||
|
#
|
||
|
endpoint = "127.0.0.1:2181"
|
||
|
|
||
|
# Enable watch Zookeeper changes
|
||
|
#
|
||
|
# Optional
|
||
|
#
|
||
|
watch = true
|
||
|
|
||
|
# Prefix used for KV store.
|
||
|
#
|
||
|
# Optional
|
||
|
#
|
||
|
prefix = "traefik"
|
||
|
|
||
|
# Override default configuration template. For advanced users :)
|
||
|
#
|
||
|
# Optional
|
||
|
#
|
||
|
# filename = "zookeeper.tmpl"
|
||
|
```
|
||
|
|
||
|
Please refer to the [Key Value storage structure](/user-guide/kv-config/#key-value-storage-structure) section to get documentation on traefik KV structure.
|