| 12345678910111213141516171819202122 |
- # Phase 5 local hybrid prototype — two EVM nodes
- # Private layer (permissioned stand-in) + public anchor stand-in
- #
- # Start (Colima/Docker must be running): docker-compose up -d
- # Or: bun run chains:up
- # Private RPC: http://127.0.0.1:8545
- # Public RPC: http://127.0.0.1:8546
- services:
- private-anvil:
- image: ghcr.io/foundry-rs/foundry:latest
- entrypoint: ["anvil", "--host", "0.0.0.0", "--port", "8545", "--chain-id", "31337", "--block-time", "2"]
- ports:
- - "8545:8545"
- restart: unless-stopped
- public-anvil:
- image: ghcr.io/foundry-rs/foundry:latest
- entrypoint: ["anvil", "--host", "0.0.0.0", "--port", "8546", "--chain-id", "31338", "--block-time", "5"]
- ports:
- - "8546:8546"
- restart: unless-stopped
|