updated routermon e upsmon, ora funzionano

This commit is contained in:
2025-05-30 23:26:22 +02:00
parent 27170ef12a
commit 5f34f3169a
6 changed files with 140 additions and 38 deletions

9
upsmon/upsmon.Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.12-alpine
RUN apk update && apk upgrade --no-cache
RUN pip install --no-cache-dir pyserial RouterOS-API influxdb-client
COPY ./ups.py /home/ups.py
CMD [ "python", "/home/ups.py" ]