2024-07-26 10:32:27 +00:00
|
|
|
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}
|
2024-10-25 13:50:11 +00:00
|
|
|
WALLET_CONNECT_VERIFY_CODE: ${WALLET_CONNECT_VERIFY_CODE}
|
2024-07-26 10:32:27 +00:00
|
|
|
CERC_DEFAULT_GAS_PRICE: ${CERC_DEFAULT_GAS_PRICE:-0.025}
|
|
|
|
CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT:-2}
|
2024-07-29 12:55:23 +00:00
|
|
|
CERC_LACONICD_RPC_URL: ${CERC_LACONICD_RPC_URL:-https://laconicd.laconic.com}
|
2024-07-26 10:32:27 +00:00
|
|
|
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
|