Skip to content

Using ganache with docker and docker-compose example

Notifications You must be signed in to change notification settings

krkc530/ganache-docker-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ganache Docker Example

Ganache local chain with fixed private key Dockerfile and docker-compose example

Getting Started

git clone https://github.com/krkc530/ganache-docker-example.git
cd ganache-docker-example

Start with Dockerfile

docker build --build-arg \
NODE_VERSION=<NODE_VERSION> \
GANACHE_VERSION=<GANACHE_VERSION> \
-t <IMAGE_NAME:TAG> .

and run this command

docker run -d -p <PORT>:8545 <IMAGE_NAME:TAG>

Start with docker-compose

Set your settings args section in docker-compose.yml and run the command

docker-compose up -d

About

Using ganache with docker and docker-compose example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 72.3%
  • Dockerfile 27.7%