Skip to content

Instantly share code, notes, and snippets.

@dan-turner
Created October 1, 2017 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan-turner/969bc6b31e39dad8643a690e0cbb5885 to your computer and use it in GitHub Desktop.
Save dan-turner/969bc6b31e39dad8643a690e0cbb5885 to your computer and use it in GitHub Desktop.
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