Runs your own Blynk Server in a Docker container instead of relying on Blynk's public server.
Blynk is the "first drag-n-drop IoT app builder for Arduino, Raspberry Pi, ESP8266, ESP32, SparkFun boards, and others." Super fun.
Easy peasy:
docker run rocksdf/blynk-server:latest
To forward IP ports from the host to the container, do this:
docker run -p 8080:8080 -p 8441:8441 -p 9443:9443 rocksdf/blynk-server:latest
To persist data, mount a directory into the container:
docker run -v $(PWD):/data rocksdf/blynk-server:latest
To include your own server.properties file, mount it into /config/server.properties
docker run -v $(PWD)/server.properties:/config/server.properties rocksdf/blynk-server:latest
Example of use in docker-compose, you do not need to edit the .properties files
version: '3.9'
services:
blynk:
container_name: blynk
image: rocksdf/blynk-server:latest
environment:
- BLYNK_SERVER_VERSION=0.41.16
- [email protected]
- ADMIN_PAS=admin
- [email protected]
- MAIL_SMTP_PASSWORD=pass
volumes:
- /DockerVolume/blynk/data:/data
- /DockerVolume/blynk/data/backup:/data/backup
- /DockerVolume/blynk/config:/config
restart: always
ports:
- 80:8080
- 443:9443
Or you can use a data volume in another container (check out different data volume techniques here).
Content type
Image
Digest
sha256:40dfda0cc…
Size
83.7 MB
Last updated
over 2 years ago
docker pull rocksdf/blynk-server