zenith-wallet-web/stack/stack-orchestrator/compose/docker-compose-zenith-wallet-web.yml
Prathamesh Musale 112046e4d0 Fix file and directory naming in the stack (#3)
Part of https://www.notion.so/Implement-stacks-1b5a6b22d472806a82f5dafed6955138

Reviewed-on: LaconicNetwork/zenith-wallet-web#3
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-06-19 11:36:40 +00:00

26 lines
861 B
YAML

services:
# Builds and serves the React zenith-wallet-web app
zenith-wallet-web:
restart: unless-stopped
image: cerc/zenith-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_ZENITHD_RPC_URL: ${CERC_ZENITHD_RPC_URL}
CERC_ALLOWED_URLS: ${CERC_ALLOWED_URLS}
command: ["bash", "/scripts/run.sh"]
volumes:
- ../config/app/run.sh:/scripts/run.sh
- ../config/app/serve.json:/app/serve.json
ports:
- "80"
healthcheck:
test: ["CMD", "nc", "-vz", "localhost", "80"]
interval: 20s
timeout: 5s
retries: 15
start_period: 10s