Public | Automated Build

Last pushed: 2 months ago
Short Description
Docker image of the Deviceio Hub
Full Description

Deviceio Hub

The Deviceio Hub provides real-time access to connected devices.

Quick Start with Docker

Start a rethinkdb instance

docker run -d --name deviceio-db rethinkdb

Wait for the rethinkdb instance to startup by following the container logs until you see Server ready

docker logs -f deviceio-db

Initialize the Deviceio Hub database and initial credential. the command below generates initial credentials ensure they are saved securely, they will be needed for future authentication against the hub api

docker run -ti --rm --link deviceio-db:db deviceio/hub init --db-host db

Start a Deviceio Hub instance and link to our rethinkdb instance

docker run -d --name deviceio-hub -p 4431:4431 -p 8975:8975 --link deviceio-db:db deviceio/hub start --db-host db

Test connectivity to the hub api port

curl -k -v https://127.0.0.1:4431/v1/status

Test connectivity to the hub gateway port

telnet 127.0.0.1 8975

Next:

Docker Pull Command
Owner
deviceio
Source Repository