Files
noolite-srv/README.md

32 lines
829 B
Markdown

# noolite-srv
Simple application that provides access from web to Noolite Adapters PC11xx
Depends on the library [noolite](https://gogs.dended.ru/ded/noolitelib.git)
Is the backend for application [nooLight](https://gogs.dended.ru/ded/nooLight.git) and web UI [noolite-web-client](https://gogs.dended.ru/ded/noolite-srv.git)
# Building
Just build docker image:
```
docker build . -t noolite-srv
```
Or build crossplatform images:
```
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t <your_tag> --push .
```
# Installation
Install from docker registry:
```
docker pull docker.dended.ru/noolite-srv
```
# Using
Run docker container:
```
docker run --device=/dev/bus/usb/<Bus>/<Device> -p 8080:8888 -v /path/to/config/channels.js:/var/www/static/channels.js -d --restart unless-stopped noolite-srv
```