Skip to content

Commit

Permalink
updated entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuancas-elrond committed Feb 25, 2025
1 parent e3f185a commit 15cee7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ if [ -n "$START_API_ADDRESS_STOP" ]; then
find /usr/share/nginx/html/ -type f -exec sed -i 's|START_API_ADDRESS_STOP|'${START_API_ADDRESS_STOP}'|g' {} +
fi

if [ -n "$START_IS_SOVEREIGN_STOP" ]; then
echo "IS Sovereign defined: ${START_IS_SOVEREIGN_STOP}, replacing in config"
find /usr/share/nginx/html/ -type f -exec sed -i 's|START_IS_SOVEREIGN_STOP|'${START_IS_SOVEREIGN_STOP}'|g' {} +
fi

exec nginx -g 'daemon off;'
1 change: 1 addition & 0 deletions src/config/config.placeholder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const networks: NetworkType[] = [
walletAddress: 'START_WALLET_ADDRESS_STOP',
explorerAddress: 'START_EXPLORER_ADDRESS_STOP',
nftExplorerAddress: 'START_NFT_EXPLORER_ADDRESS_STOP',
isSovereign: 'START_IS_SOVEREIGN_STOP',
apiAddress: 'START_API_ADDRESS_STOP'
},

Expand Down

0 comments on commit 15cee7a

Please sign in to comment.