1
0
Fork 0

Added lookup_label parameter

This commit is contained in:
Joao M 2022-08-11 17:00:38 -05:00 committed by GitHub
parent 3bea967273
commit 2ef8dfecb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -37,6 +37,7 @@ The environment variables will setup the HAProxy.
| Environment Variable | Description |
|----------------------|-------------------------------------------------------------------------------|
| DISCOVER | How `haproxy.cfg` will be created: `static`, `docker` or `swarm` |
| LOOKUP_LABEL | (Optional) The key will search to match resources. Default: `easyhaproxy`. |
| HAPROXY_USERNAME | (Optional) The HAProxy username to the statistics. Default: `admin` |
| HAPROXY_PASSWORD | The HAProxy password to the statistics. If not set disable stats. |
| HAPROXY_STATS_PORT | (Optional) The HAProxy port to the statistics. Default: `1936` |
@ -169,6 +170,8 @@ stats:
password: password
port: 1936 # Optional (default 1936)
lookup_label: easyhaproxy # The key the system will try to find in the docker labels.
customerrors: true # Optional (default false)
easymapping: