Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

This folder contains a Docker-based setup to run your own Wasp development setup.

Usage

Starting

Run docker-compose up to start the setup.

During the startup you might see a few failed restarts of Wasp with the message: panic: error getting node event client: mqtt plugin not available on the current node

This is normal, as Wasp starts faster than Hornet. Wasp retries the connection until it succeeds.

Stopping

Press Ctrl-C to shut down the setup, but don't press it twice to force it. Otherwise, you can corrupt the Hornet database.

You can also shut down the setup with docker-compose down in a new terminal.

Reset

Run docker-compose down --volumes to shut down the nodes and to remove all databases.

Recreation

If you made changes to the Wasp code and want to use it inside the setup, you need to recreate the Wasp image.

Run docker-compose build

Ports

The nodes will then be reachable under these ports: