Microservice part to manage leds
Go to file
2021-10-12 19:05:34 +02:00
cmd/rc-led refactor: move led and part modules to pkg 2021-10-12 19:05:34 +02:00
pkg refactor: move led and part modules to pkg 2021-10-12 19:05:34 +02:00
vendor refactor: log with zap 2021-10-12 19:00:46 +02:00
.gitignore First implementation 2019-12-14 11:57:51 +01:00
.sonarcloud.properties [sonarqube] Exclude vendor directory 2019-12-18 18:49:36 +01:00
build-docker.sh build: add buildah script to publish docker images 2021-09-11 20:53:16 +02:00
Dockerfile chore: bump periph.io dependencies 2021-09-11 20:52:44 +02:00
go.mod refactor: log with zap 2021-10-12 19:00:46 +02:00
go.sum refactor: log with zap 2021-10-12 19:00:46 +02:00
LICENSE First implementation 2019-12-14 11:57:51 +01:00
Makefile chore: bump periph.io dependencies 2021-09-11 20:52:44 +02:00
README.md First implementation 2019-12-14 11:57:51 +01:00

robocar-led

Microservice part to manage leds

Usage

rc-led <OPTIONS>

-mqtt-broker string Broker Uri, use MQTT_BROKER env if arg not set (default "tcp://127.0.0.1:1883") -mqtt-client-id string Mqtt client id, use MQTT_CLIENT_ID env if args not set (default "robocar-led") -mqtt-password string Broker Password, MQTT_PASSWORD env if args not set -mqtt-qos int Qos to pusblish message, use MQTT_QOS env if arg not set -mqtt-retain Retain mqtt message, if not set, true if MQTT_RETAIN env variable is set -mqtt-topic-drive-mode string Mqtt topic that contains DriveMode value, use MQTT_TOPIC_DRIVE_MODE if args not set -mqtt-topic-record string Mqtt topic that contains video recording state, use MQTT_TOPIC_RECORD if args not set -mqtt-username string Broker Username, use MQTT_USERNAME env if arg not set

Docker build

export DOCKER_CLI_EXPERIMENTAL=enabled
docker buildx build . --platform linux/amd64,linux/arm/7,linux/arm64 -t cyrilix/robocar-led