Skip to content

Cloudstek/blynk-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Blynk Server

Blynk is the most popular mobile app for the IOT. Works with anything: ESP8266, Arduino, Raspberry Pi, SparkFun and others.

With this Docker image you can run your own private Blynk server without relying on the public Blynk cloud server.

Exposed ports

  • 8080 - HTTP
  • 9443 - HTTPS

Volumes

  • /data - Storage of data
  • /config - Custom configuration files

How to run

Simply start a container:

docker run cloudstek/blynk-server:latest

To forward IP ports from the host to the container, do this:

docker run -p 8080:8080 -p 9443:9443 cloudstek/blynk-server:latest

To persist data, mount a directory into the container on /data:

docker run -v $(PWD):/data cloudstek/blynk-server:latest

To include your own server.properties / mail.properties / sms.properties file(s), mount them into /config:

docker run -v $(PWD)/server.properties:/config/server.properties -v $(PWD)/server.properties:/config/mail.properties -v $(PWD)/server.properties:/config/sms.properties cloudstek/blynk-server:latest

Building the image

In case you want to modify and/or build the image yourself. Clone the repository and run:

docker build --pull .

This will pull the latest base image (Open JDK) and build the Blynk server image. To change the Blynk server version simply change the BLYNK_SERVER_VERSION env var:

docker build --pull --build-arg BLYNK_SERVER_VERSION=<BLYNK SERVER VERSION> .

Packages

No packages published

Languages

  • Dockerfile 100.0%