2023-09-27 07:04:31 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2023-09-29 07:13:14 +00:00
|
|
|
# Optionally deploys the Nitro contracts
|
2023-09-27 07:04:31 +00:00
|
|
|
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:-http://fixturenet-eth-geth-1:8545}
|
|
|
|
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}
|
|
|
|
volumes:
|
|
|
|
- ../config/nitro-contracts/deploy.sh:/app/deploy.sh
|
|
|
|
- nitro_deployment:/app/deployment
|
2023-09-27 09:21:38 +00:00
|
|
|
command: ["bash", "-c", "/app/deploy.sh"]
|
2023-09-27 07:04:31 +00:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
nitro_deployment:
|