adding contract deployyer to poa

This commit is contained in:
kant 2023-12-11 17:46:42 -08:00
parent dda05c5584
commit aaa7e70952

View file

@ -14,6 +14,7 @@ services:
- 8545:8545 - 8545:8545
- 8546:8546 - 8546:8546
- 6060:6060 # metrics server @ /debug/metrics - 6060:6060 # metrics server @ /debug/metrics
- 6068:6068
volumes: volumes:
- geth-data-bootnode:/data - geth-data-bootnode:/data
profiles: profiles:
@ -114,6 +115,15 @@ services:
} }
] ]
contract-deployer:
image: ghcr.io/foundry-rs/foundry
environment:
RPC_URL: "http://bootnode:8545" # Pointing to the Geth bootnode
command: >
bash -c "forge compile &&
forge script scripts/DeployScripts.s.sol:DeployScript --rpc-url '$RPC_URL' --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast --chain-id 17864 -vvvv"
depends_on:
- bootnode
hyperlane-deployer: hyperlane-deployer:
build: build: