2017-08-26 10:12:44 +00:00
|
|
|
# BoltDB Backend
|
2017-08-25 19:32:33 +00:00
|
|
|
|
|
|
|
Træfik can be configured to use BoltDB as a backend configuration:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
################################################################
|
|
|
|
# BoltDB configuration backend
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Enable BoltDB configuration backend
|
|
|
|
[boltdb]
|
|
|
|
|
|
|
|
# BoltDB file
|
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
|
|
|
endpoint = "/my.db"
|
|
|
|
|
|
|
|
# Enable watch BoltDB changes
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
|
|
|
watch = true
|
|
|
|
|
|
|
|
# Prefix used for KV store.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
|
|
|
prefix = "/traefik"
|
|
|
|
|
|
|
|
# Override default configuration template. For advanced users :)
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
2017-08-26 10:12:44 +00:00
|
|
|
filename = "boltdb.tmpl"
|
2017-08-25 19:32:33 +00:00
|
|
|
```
|