Prathamesh Musale
ceae9fe8d4
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) - Remove `go-nitro` repo from `bridge` and `nitro-node` stacks - Add a separate image for Nitro contracts deployment - Update `go-nitro` Dockerfile to: - Fetch `nitro` and `bridge` binaries from <https://git.vdb.to/cerc-io/nitro> instead of building from source - Use `ubuntu:latest` as base image instead of `deban:bullsye-slim` - Update `nitro-client` Dockerfile to: - Install `nitro-rpc-client` package from `git.vdb.to/cerc-io` instead of building from source Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #12 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
27 lines
849 B
YAML
27 lines
849 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
|
|
command: ["bash", "-c", "/app/deploy-l1-contracts.sh"]
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
nitro_deployment:
|