Skip to content

Docker config for self-hosting openhab cloud on raspberry Pi

Notifications You must be signed in to change notification settings

lucacalcaterra/openhabcloud-rpi-docker

Repository files navigation

openhabcloud-rpi-docker

This is an arrangement of docker-compose (ARM images) for running openhab cloud instance on your ARM device (Raspberry, TinkerBoard,etc.)

The docker-compose.yml arranges the following containers:

  1. app-1: The node app, docker-compose build it with the Dockerfile i've created and your config.json
  2. mongodb
  3. redis
  4. nginx-proxy: the container with nginx as reverse proxy
  5. nginx-proxy-letsencrypt: at start it create the https certificates of your site from letsencrypt

Currently tested on my instance , with Raspberry and Asus Tinkerboard

It's not so wide tested, so...Feel to open new issues and ask if you have troubles.

How to launch

Clone the repo using --recurse-submodules (the repo contain reference to openhab-cloud):

  1. git clone --recurse-submodules https://github.com/lucacalcaterra/openhabcloud-rpi-docker.git
  2. Copy docker-compose.yml.EXAMPLE to docker-compose.yml and change variables refer to your domain and changing with your openhab server port
  3. Copy openhabcloud_nginx.conf.EXAMPLE to openhabcloud_nginx.conf and change variables refer to your domain
  4. Inside the openhab-cloud folder copy config-production.json to config.json and change it according your environment
  5. launch with docker-compose up -d

Check docker logs , if have troubles open an issue on the repo.

@ 2019 - Luca Calcaterra

About

Docker config for self-hosting openhab cloud on raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published