Sign inSign up

nararat/blynkserver

By nararat

•Updated over 6 years ago

Image
0

188

nararat/blynkserver repository overview

⁠Blynk Server

Blynk Server version 0.41.12

⁠Step 1: Config

  1. Download server.properties file save in your directory wget https://raw.githubusercontent.com/blynkkk/blynk-server/master/server/core/src/main/resources/server.properties⁠

  2. Edit server.properties file in line

    #initial amount of energy
    initial.energy=1000000
    
    #used for fallback page for reset user password, in most cases it should be the same as server.host
    #IP is not allowed here, it should be blynk-cloud.com for Blynk app
    #or *.blynk.cc for private servers with own apps
    restore.host=Your-Host
    
    #default admin name and password. that will be created on initial server start
    admin.email=Your-Email
    admin.pass=Your-Password
    
  3. Download mail.properties file save in your directory wget https://raw.githubusercontent.com/blynkkk/blynk-server/master/server/notifications/email/src/main/resources/mail.properties⁠

  4. Edit mail.properties file in line

    mail.smtp.host=Your-SMTP Server
    mail.smtp.port=Your-Port
    mail.smtp.username=Your-Email
    mail.smtp.password=Your-Password
    
  5. Create an empty folder "data" your directory

⁠Step 2: Run

docker run -d -it \
    --name blynkserver \
    -p 8080:8080 \
    -p 8440:8440 \
    -p 9443:9443 \
    -v /Your-Directory/server.properties:/iot/blynk/config/server.properties \
    -v /Your-Directory/mail.properties:/iot/blynk/config/mail.properties \
    -v /Your-Directory/data:/iot/blynk/data \
    nararat/blynkserver:latest

⁠Blynk Administrator

Administrator Managed using Web Browser

https://Your-DomainName_or_IP_Address:9443/admin

⁠Blynk Application

Blynk Application for IOS & Android connect to Blynk Server

Select server: Custom
Specify server: Your-DomainName_or_IP_Address
Specify port: 9443

Tag summary

Content type

Image

Digest

Size

217.7 MB

Last updated

over 6 years ago

docker pull nararat/blynkserver