Skip to content

Instantly share code, notes, and snippets.

@swyngaard
Created April 18, 2019 17:29
Show Gist options
  • Save swyngaard/920275141d3f97fc9ffbb03c22b57972 to your computer and use it in GitHub Desktop.
Save swyngaard/920275141d3f97fc9ffbb03c22b57972 to your computer and use it in GitHub Desktop.
Private geth node in dev mode
version: "3"
services:
ethereum:
image: ethereum/client-go:v1.8.27
restart: unless-stopped
volumes:
- eth-data-vol:/ethdat
ports:
- "8545:8545"
command: ["--dev", "--rpc", "--rpcaddr", "0.0.0.0", "--datadir", "/ethdat"]
volumes:
eth-data-vol:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment