2023-06-21 23:25:27 +00:00
|
|
|
# Runs the test contract deployment server
|
|
|
|
|
|
|
|
services:
|
|
|
|
contract-deployer:
|
|
|
|
restart: on-failure
|
2023-09-11 15:24:09 +00:00
|
|
|
image: cerc/ipld-eth-db-validator/contract-deployer:local
|
2023-06-21 23:25:27 +00:00
|
|
|
build: ./contract
|
|
|
|
networks:
|
|
|
|
- test_default
|
|
|
|
environment:
|
|
|
|
ETH_ADDR: "http://fixturenet-eth-geth-1:8545"
|
|
|
|
ETH_CHAIN_ID: $ETH_CHAIN_ID
|
|
|
|
DEPLOYER_PRIVATE_KEY: $DEPLOYER_PRIVATE_KEY
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:3000:3000
|
|
|
|
|
|
|
|
networks:
|
|
|
|
test_default:
|
|
|
|
external: true
|