Skip to content

Commit

Permalink
Merge pull request #3 from AnchorFree/INFRA-7314-satellite-gpr-charts
Browse files Browse the repository at this point in the history
haproxy config through env
  • Loading branch information
white-hat authored Oct 8, 2018
2 parents 6625c6e + 5530642 commit 57b4522
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ done

cp -rf /opt/haproxy/error-pages /etc/haproxy/

exec haproxy -f /etc/haproxy/haproxy.cfg -W -db
if [ -z "$CONFIG" ]; then
CONFIG="/etc/haproxy/haproxy.cfg"
fi

exec haproxy -f $CONFIG -W -db

0 comments on commit 57b4522

Please sign in to comment.