2023-07-03 23:43:22 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-07-25 22:01:12 +00:00
|
|
|
PEER_0_NAME=${PEER_0_NAME:-peer-0}
|
|
|
|
PEER_1_NAME=${PEER_1_NAME:-peer-1}
|
|
|
|
PEER_2_NAME=${PEER_2_NAME:-peer-2}
|
|
|
|
|
2023-07-03 23:43:22 +00:00
|
|
|
envsubst < /etc/haproxy/haproxy.template.cfg > /etc/haproxy/haproxy.cfg
|
|
|
|
|
|
|
|
exec "$@"
|