1
0
Fork 0

Reading from Docker and Swarm

This commit is contained in:
Joao Gilberto Magalhaes 2019-07-17 01:55:07 -05:00
parent b196905320
commit b7ec691e8f
7 changed files with 63 additions and 14 deletions

View file

@ -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: