2024-07-17 09:29:46 +00:00
|
|
|
name: nitro-contracts
|
|
|
|
|
|
|
|
services:
|
|
|
|
# Optionally deploys the Nitro contracts
|
|
|
|
nitro-contracts:
|
2024-07-23 06:40:19 +00:00
|
|
|
image: cerc/nitro-client:local
|
2024-07-19 05:27:46 +00:00
|
|
|
restart: on-failure
|
2024-07-17 09:29:46 +00:00
|
|
|
environment:
|
|
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
2024-07-23 06:40:19 +00:00
|
|
|
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}
|
2024-07-17 09:29:46 +00:00
|
|
|
volumes:
|
2024-07-19 05:27:46 +00:00
|
|
|
- nitro_deployment:/app/deployment
|
2024-08-26 14:00:02 +00:00
|
|
|
- ../config/nitro-contracts/deploy-l1-contracts.sh:/app/deploy-l1-contracts.sh
|
|
|
|
command: ["bash", "-c", "/app/deploy-l1-contracts.sh"]
|
2024-07-17 09:29:46 +00:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2024-07-19 05:27:46 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
nitro_deployment:
|