From 7205a1cf76e8a29ecb8e9e7482a53b342abfeb2c Mon Sep 17 00:00:00 2001 From: Shreerang Kale Date: Fri, 25 Apr 2025 10:24:01 +0530 Subject: [PATCH] Update stack config --- .../compose/docker-compose-laconic-wallet-web.yml | 2 +- stack/stack-orchestrator/config/app/run.sh | 2 +- stack/stack-orchestrator/stack/laconic-wallet-web/README.md | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml b/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml index 9ae5335..79bd086 100644 --- a/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml +++ b/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml @@ -10,7 +10,7 @@ services: CERC_DEFAULT_GAS_PRICE: ${CERC_DEFAULT_GAS_PRICE:-0.025} CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT:-2} CERC_LACONICD_RPC_URL: ${CERC_LACONICD_RPC_URL:-https://laconicd.laconic.com} - CERC_DEPLOY_APP_URL: ${CERC_DEPLOY_APP_URL} + CERC_ALLOWED_URLS: ${CERC_ALLOWED_URLS} command: ["bash", "/scripts/run.sh"] volumes: - ../config/app/run.sh:/scripts/run.sh diff --git a/stack/stack-orchestrator/config/app/run.sh b/stack/stack-orchestrator/config/app/run.sh index 41fcb32..72d0e17 100755 --- a/stack/stack-orchestrator/config/app/run.sh +++ b/stack/stack-orchestrator/config/app/run.sh @@ -10,7 +10,7 @@ echo "WALLET_CONNECT_ID: ${WALLET_CONNECT_ID}" echo "CERC_DEFAULT_GAS_PRICE: ${CERC_DEFAULT_GAS_PRICE}" echo "CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT}" echo "CERC_LACONICD_RPC_URL: ${CERC_LACONICD_RPC_URL}" -echo "CERC_DEPLOY_APP_URL: ${CERC_DEPLOY_APP_URL}" +echo "CERC_ALLOWED_URLS: ${CERC_ALLOWED_URLS}" # Build with required env REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_ID \ diff --git a/stack/stack-orchestrator/stack/laconic-wallet-web/README.md b/stack/stack-orchestrator/stack/laconic-wallet-web/README.md index 6e0567c..50be17d 100644 --- a/stack/stack-orchestrator/stack/laconic-wallet-web/README.md +++ b/stack/stack-orchestrator/stack/laconic-wallet-web/README.md @@ -64,9 +64,8 @@ Instructions for running the `laconic-wallet-web` using [laconic-so](https://git # RPC endpoint of laconicd node (default: https://laconicd.laconic.com) CERC_LACONICD_RPC_URL= - # Deploy app URL used for checking origin of the messages for auto-sign-in route - # Deploy app repo: https://git.vdb.to/cerc-io/snowballtools-base - CERC_DEPLOY_APP_URL= + # Allowed urls is a comma separated list of allowed urls for auto-sign-in route + CERC_ALLOWED_URLS= ``` ## Start the deployment