Update README to support swarm
This commit is contained in:
parent
7e2b6f0f01
commit
8d7723e415
3 changed files with 13 additions and 29 deletions
|
|
@ -6,6 +6,7 @@ RELOAD="true"
|
|||
|
||||
if [[ "$DISCOVER" == "static" ]]; then
|
||||
CONTROL_FILE="/etc/haproxy/haproxy.cfg"
|
||||
touch ${CONTROL_FILE}
|
||||
cp ${CONTROL_FILE} ${CONTROL_FILE}.old
|
||||
python3 static.py /etc/haproxy/easyconfig.yml > ${CONTROL_FILE}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue