nabarun
4ccc1f793a
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #13
28 lines
928 B
YAML
28 lines
928 B
YAML
name: nitro-contracts
|
|
|
|
services:
|
|
# Optionally deploys the Nitro contracts
|
|
nitro-contracts:
|
|
image: cerc/nitro-contracts:local
|
|
working_dir: /app
|
|
restart: on-failure
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
GETH_URL: ${GETH_URL}
|
|
GETH_CHAIN_ID: ${GETH_CHAIN_ID:-1212}
|
|
GETH_DEPLOYER_PK: ${GETH_DEPLOYER_PK}
|
|
TOKEN_NAME: ${TOKEN_NAME}
|
|
TOKEN_SYMBOL: ${TOKEN_SYMBOL}
|
|
INITIAL_TOKEN_SUPPLY: ${INITIAL_TOKEN_SUPPLY}
|
|
DISABLE_DETERMINISTIC_DEPLOYMENT: ${DISABLE_DETERMINISTIC_DEPLOYMENT:-true}
|
|
volumes:
|
|
- nitro_deployment:/app/deployment
|
|
- ../config/nitro-contracts/deploy-l1-contracts.sh:/app/deploy-l1-contracts.sh
|
|
- ../config/nitro-contracts/deploy-l1-tokens.sh:/app/deploy-l1-tokens.sh
|
|
command: ["bash", "-c", "/app/deploy-l1-contracts.sh"]
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
nitro_deployment:
|