forked from cerc-io/laconic-wallet-web
c7310b8e6d
* Add a laconic-wallet-web stack * Restructure stack folder * Add transform-modules-commonjs babel plugin
22 lines
653 B
YAML
22 lines
653 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}
|
|
CERC_DEFAULT_GAS_PRICE: ${CERC_DEFAULT_GAS_PRICE:-0.025}
|
|
CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT:-2}
|
|
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
|