Skip to content

vincent-leclerc-dev/ms-gpio

Repository files navigation

Microservice GPIO

1 - Prerequisites

  • docker
  • docker-compose
  • git
  • my scripts docker

Clone my docker repository

git clone https://github.com/vincent-leclerc-dev/docker.git

Create microservice network

cd docker/scripts
./create-ms-network.sh

That allow you to use microservice name (Example: "ms-gpio" instead of localhost, 127.0.0.1 or 0.0.0.0).

2 - Run microservice GPIO

git clone https://github.com/vincent-leclerc-dev/ms-gpio.git
cd ms-gpio
cp .env.sample .env
docker-compose up -d

About

A microservice to control GPIO on a Raspberry Pi 5

Resources

Stars

Watchers

Forks