diff --git a/entrypoint.sh b/entrypoint.sh index 0533ff762..967334ae0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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;' diff --git a/src/config/config.placeholder.ts b/src/config/config.placeholder.ts index 868a610eb..4ffa40280 100644 --- a/src/config/config.placeholder.ts +++ b/src/config/config.placeholder.ts @@ -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' },