nabarun
d92a1febed
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: cerc-io/testnet-laconicd-stack#33
30 lines
1008 B
YAML
30 lines
1008 B
YAML
services:
|
|
faucet:
|
|
restart: unless-stopped
|
|
image: cerc/laconic-shopify-faucet:local
|
|
command: ["bash", "-c", "./start-faucet.sh"]
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
CERC_LACONICD_RPC_ENDPOINT: ${CERC_LACONICD_RPC_ENDPOINT:-http://laconicd:26657}
|
|
CERC_FAUCET_KEY: ${CERC_FAUCET_KEY}
|
|
CERC_LACONICD_CHAIN_ID: ${CERC_LACONICD_CHAIN_ID:-laconic_9000-1}
|
|
CERC_LACONICD_PREFIX: ${CERC_LACONICD_PREFIX:-laconic}
|
|
CERC_LACONICD_GAS_PRICE: ${CERC_LACONICD_GAS_PRICE:-1}
|
|
volumes:
|
|
- faucet-data:/app/db
|
|
- ../config/laconic-shopify-faucet/start-faucet.sh:/app/start-faucet.sh
|
|
- ../config/laconic-shopify-faucet/config-template.toml:/app/environments/config-template.toml
|
|
ports:
|
|
- 3000
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "127.0.0.1", "3000"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 5s
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
faucet-data:
|