Skip to content

Instantly share code, notes, and snippets.

@g1ibby
Created October 26, 2020 12:18
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 g1ibby/93f902461078d4b17d0ed6d7d5ea8fd8 to your computer and use it in GitHub Desktop.
Save g1ibby/93f902461078d4b17d0ed6d7d5ea8fd8 to your computer and use it in GitHub Desktop.
Ethereum dev network: ganache + docker-compose
version: "3.8"
volumes:
ganache:
services:
ganache-cli:
image: "trufflesuite/ganache-cli:v6.12.0"
container_name: ganache-cli
restart: always
ports:
- "8545:8545"
volumes:
- "ganache:/ganache_db"
command: >
--deterministic
--mnemonic="myth like bonus scare over problem submit lizard pioneer submit female collect"
--db /ganache_db
--networkId 123456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment