Skip to content

Instantly share code, notes, and snippets.

@AndyWatt83
Created May 4, 2021 22:09
Show Gist options
  • Save AndyWatt83/93642f46c6ad1842f3f9a33114ae036a to your computer and use it in GitHub Desktop.
Save AndyWatt83/93642f46c6ad1842f3f9a33114ae036a to your computer and use it in GitHub Desktop.
Docker compose for Ethereum development
version: "3"
services:
# start the ganache cli container
ganache-cli:
container_name: ganache-cli
build:
context: ./docker/ganache-cli
# note host:container
ports:
- 5545:8545
truffle_suite:
container_name: truffle_suite
build:
context: ./docker/truffle-suite
# volumes
volumes:
- ".:/workspace"
# command: >
# bash
stdin_open: true # docker run -i
tty: true # docker run -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment