gRPC-service

command module
v0.0.0-...-3f65518 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 12 Imported by: 0

README

This project is under construction.

About HomePi

HomePi (SmartHome) is a web api application that works with raspberry pi and relay boards to control GPIO pins!

Features

  • 🚀 Custom accessories support
  • 🎉 Built with Golang, gRPC protobuffers
  • 🥭 mongoDB

Build the docker image

docker build . --tag=homepi-gRPC-service

Run the docker image

docker run --restart always -dp 55283:55283 --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged homepi-gRPC-service

docker-compose.yml file

version: '3'

services:
  grpc:
    build:
      context: ./gRPC-service
    container_name: homepi.grpc
    ports:
      - 55283:55283
    restart: always
    devices:
      - /dev/ttyAMA0:/dev/ttyAMA0
      - /dev/mem:/dev/mem
    privileged: true
    networks:
      - homepi

networks:
  homepi:
    driver: bridge
  • then run docker-compose up -d and you're ready to go:)

Contributing

Thank you for considering contributing to the HomePi project!

License

The HomePi is open-source software licensed under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL