feature: default value for peer name
This commit is contained in:
parent
58cd131a32
commit
641e7df56b
4
init.sh
4
init.sh
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
PEER_0_NAME=${PEER_0_NAME:-peer-0}
|
||||||
|
PEER_1_NAME=${PEER_1_NAME:-peer-1}
|
||||||
|
PEER_2_NAME=${PEER_2_NAME:-peer-2}
|
||||||
|
|
||||||
envsubst < /etc/haproxy/haproxy.template.cfg > /etc/haproxy/haproxy.cfg
|
envsubst < /etc/haproxy/haproxy.template.cfg > /etc/haproxy/haproxy.cfg
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user