added consul acl token note
This commit is contained in:
parent
f17785c3ab
commit
b452695c20
1 changed files with 26 additions and 18 deletions
|
@ -137,6 +137,12 @@ traefik:
|
||||||
|
|
||||||
NB : Be careful to give the correct IP address and port in the flag `--consul.endpoint`.
|
NB : Be careful to give the correct IP address and port in the flag `--consul.endpoint`.
|
||||||
|
|
||||||
|
## Consul ACL Token support
|
||||||
|
|
||||||
|
To specify a Consul ACL token for Traefik, we have to set a System Environment variable named `CONSUL_HTTP_TOKEN` prior to starting traefik. This variable must be initialized with the ACL token value.
|
||||||
|
|
||||||
|
If Traefik is launched into a Docker container, the variable `CONSUL_HTTP_TOKEN` can be initialized with the `-e` Docker option : `-e "CONSUL_HTTP_TOKEN=[consul-acl-token-value]"`
|
||||||
|
|
||||||
## TLS support
|
## TLS support
|
||||||
|
|
||||||
So far, only [Consul](https://consul.io) and [etcd](https://coreos.com/etcd/) support TLS connections.
|
So far, only [Consul](https://consul.io) and [etcd](https://coreos.com/etcd/) support TLS connections.
|
||||||
|
@ -161,12 +167,14 @@ Note that we can either give directly directly the file content itself (instead
|
||||||
Remember the command `traefik --help` to display the updated list of flags.
|
Remember the command `traefik --help` to display the updated list of flags.
|
||||||
|
|
||||||
# Dynamic configuration in Key-value store
|
# Dynamic configuration in Key-value store
|
||||||
|
|
||||||
Following our example, we will provide backends/frontends rules to Træfik.
|
Following our example, we will provide backends/frontends rules to Træfik.
|
||||||
|
|
||||||
Note that this section is independent of the way Træfik got its static configuration.
|
Note that this section is independent of the way Træfik got its static configuration.
|
||||||
It means that the static configuration can either come from the same Key-value store or from any other sources.
|
It means that the static configuration can either come from the same Key-value store or from any other sources.
|
||||||
|
|
||||||
## Key-value storage structure
|
## Key-value storage structure
|
||||||
|
|
||||||
Here is the toml configuration we would like to store in the store :
|
Here is the toml configuration we would like to store in the store :
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
|
|
Loading…
Reference in a new issue