Reading from Docker and Swarm
This commit is contained in:
parent
b196905320
commit
b7ec691e8f
7 changed files with 63 additions and 14 deletions
|
|
@ -23,14 +23,13 @@ docker run \
|
|||
-e HAPROXY_USERNAME=admin \
|
||||
-e HAPROXY_PASSWORD=password \
|
||||
-e HAPROXY_STATS_PORT=1936 \
|
||||
-e REFRESH_STATE=1 \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-d byjg/easy-haproxy
|
||||
```
|
||||
|
||||
The `DISCOVER` environment variable will define where is located your containers (see below more details):
|
||||
- swarm
|
||||
- awsecs
|
||||
- static (maps to /etc/haproxy/easyconfig.yml)
|
||||
|
||||
# Tags to defined:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue