Part of https://www.notion.so/Simplify-login-flow-in-deploy-laconic-com-190a6b22d47280a9924cc38f8cf4c891 - Auto sign SIWE message received if auto-sign-in is enabled - Functionality to check account balance Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Reviewed-on: cerc-io/laconic-wallet-web#20
25 lines
851 B
YAML
25 lines
851 B
YAML
services:
|
|
# Builds and serves the React laconic-wallet-web app
|
|
laconic-wallet-web:
|
|
restart: unless-stopped
|
|
image: cerc/laconic-wallet-web:local
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
WALLET_CONNECT_ID: ${WALLET_CONNECT_ID}
|
|
WALLET_CONNECT_VERIFY_CODE: ${WALLET_CONNECT_VERIFY_CODE}
|
|
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}
|
|
command: ["bash", "/scripts/run.sh"]
|
|
volumes:
|
|
- ../config/app/run.sh:/scripts/run.sh
|
|
ports:
|
|
- "80"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "localhost", "80"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 10s
|