feat: initial commit

This commit is contained in:
2026-05-16 15:08:53 +07:00
commit 6be7fad541
7 changed files with 575 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM python:3.12-slim
LABEL description="MikroTik IP Monitor with Telegram alerts"
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
tzdata \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
routeros-api==0.17.0 \
httpx==0.27.0
# Копируем скрипт из репозитория
COPY monitor.py .
ENV TZ=Europe/Moscow
CMD ["python", "-u", "/app/monitor.py"]