This guild will help to setup Bitlite Server on your local machine for development using docker.
Clone the project
git clone https://github.com/SEGRR/BitLite-serverGo to the project directory
cd Bitlite-serverRun in docker
docker-compose up -dStop containers using
docker-compose downAfter starting the containers. All services can be listed using
docker psLook at the Logs of each individual container.
- influxdb
- mosquitto
- server
docker logs [contianer-name]This contianer hold code bound with /server folder in repository.
When server container starts it will use nodemon to keep track of code changes.
So you don't need to restart this container everytime.
For Windows users, you need to clone this repository in WSL and run it there to have this effect. Read this article to setup WSL.
Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto is lightweight and is suitable for use on all devices from low power single board computers to full servers.. More about Mosquittio
We use Mosquitto version 2 for this project.
The mosquitto/Configuration/mosquitto.conf file holds the Configuration options. Any change in file is mirrored on to the container.
- Mosquitto configuration Docs
InfluxDB is an open-source time series database developed by the company InfluxData. It is used for storage and retrieval of time series data
- Initial Configuration is present in the
.envfile - Goto
http://localhost:8086to use InfluxDB GUI. - The data stored in database persists even if the containers are shut-down and deleted
For support, email segrr2003@gmail.com