Skip to content

Commit

Permalink
fix(docker): ineffective PROXY_APP and ABCI env in entrypoint (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek authored Jun 26, 2024
1 parent 8519783 commit 9554ac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DOCKER/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -d "$TMHOME/config" ]; then
tenderdash init validator

sed -i \
-e "s/^proxy-app\s*=.*/proxy-app = \"$PROXY_APP\"/" \
-e "s/^address\s*=.*/address = \"$PROXY_APP\"/" \
-e "s/^moniker\s*=.*/moniker = \"$MONIKER\"/" \
-e 's/^addr-book-strict\s*=.*/addr-book-strict = false/' \
-e 's/^timeout-commit\s*=.*/timeout-commit = "500ms"/' \
Expand All @@ -17,7 +17,7 @@ if [ ! -d "$TMHOME/config" ]; then

if [ -n "$ABCI" ]; then
sed -i \
-e "s/^abci\s*=.*/abci = \"$ABCI\"/" \
-e "s/^transport\s*=.*/transport = \"$ABCI\"/" \
"$TMHOME/config/config.toml"
fi

Expand Down

0 comments on commit 9554ac1

Please sign in to comment.