Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ethermint + Postgres
version: '2'
services:
postgres:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: app
ports:
- "5432:5432"
ethermint:
image: cbainnovationlab/ethermint
environment:
ETH_GENESIS_CONTENT: "{\"alloc\":{\"0xbfdacdfe79ccf1e61649220df47701df16606405\":{\"balance\":\"1000000000000000000000000\"}},\"coinbase\":\"0xbfdacdfe79ccf1e61649220df47701df16606405\",\"difficulty\":\"400000\",\"extraData\":\"0x0\",\"gasLimit\":\"0x80000000\",\"mixhash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"nonce\":\"0xdeadbeefdeadbeef\",\"parentHash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"timestamp\":\"0x0\"}"
command: "--rpc --rpcapi \"admin,db,eth,debug,miner,net,shh,txpool,personal,web3\" --rpcaddr=\"0.0.0.0\" --rpccorsdomain=\"*\" --networkid=999999 --etherbase=\"0xbfdacdfe79ccf1e61649220df47701df16606405\" --gasprice=\"0\" --gpomin=\"0\" --targetgaslimit=\"34359738368\""
ports:
- "8545:8545"
- "46656:46656"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.