name: nitro-contracts services: # Optionally deploys the Nitro contracts nitro-contracts: image: cerc/nitro-contracts:local restart: on-failure environment: CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} CERC_GETH_URL: ${CERC_GETH_URL} CERC_OPTIMISM_URL: ${CERC_OPTIMISM_URL} CERC_GETH_CHAIN_ID: ${CERC_GETH_CHAIN_ID:-1212} CERC_OPTIMISM_CHAIN_ID: ${CERC_OPTIMISM_CHAIN_ID:-42069} CERC_GETH_DEPLOYER_PK: ${CERC_GETH_DEPLOYER_PK} CERC_OPTIMISM_DEPLOYER_PK: ${CERC_GETH_DEPLOYER_PK} CERC_TOKEN_NAME: ${CERC_TOKEN_NAME} CERC_TOKEN_SYMBOL: ${CERC_TOKEN_SYMBOL} CERC_INITIAL_TOKEN_SUPPLY: ${CERC_INITIAL_TOKEN_SUPPLY} volumes: - nitro_deployment:/app/deployment - ../config/nitro-contracts/deploy.sh:/app/deploy.sh command: ["bash", "-c", "/app/deploy.sh"] extra_hosts: - "host.docker.internal:host-gateway" volumes: nitro_deployment: