nitro-stack/stack-orchestrator/compose/docker-compose-nitro-contracts.yml
shreerang6921 e25a412c86
Create skeleton of stack for running nitro nodes (#1)
* Add initial stack for running go-nitro

* Fix clone required repo command

* Add step for cloning required repo

* Build docker images for nitro protocol and nitro rpc client

* Add todos in go-nitro and nitro-contracts container

* Add todos in go-nitro readme

* Replace top level version with name in docker compose files

---------

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
2024-07-17 14:59:46 +05:30

26 lines
791 B
YAML

name: nitro-contracts
services:
# Optionally deploys the Nitro contracts
# TODO: Rename to nitro-protocol
nitro-contracts:
image: cerc/nitro-contracts:local
restart: on-failure
environment:
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
CERC_ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT}
CERC_PRIVATE_KEY_DEPLOYER: ${CERC_PRIVATE_KEY_DEPLOYER}
CERC_NA_ADDRESS: ${CERC_NA_ADDRESS}
CERC_VPA_ADDRESS: ${CERC_VPA_ADDRESS}
CERC_CA_ADDRESS: ${CERC_CA_ADDRESS}
# TODO: Add bridge contract address
volumes:
- ../config/nitro-contracts/deploy.sh:/app/deploy.sh
- nitro_deployment:/app/deployment
command: ["bash", "-c", "/app/deploy.sh"]
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
nitro_deployment: