uptime-monitor

This commit is contained in:
Paul Moeller-Friedrich
2026-08-20 08:23:32 +02:00
parent 510f6ad5b9
commit 8dcea2e0e6
12 changed files with 621 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
ENV CONFIG_PATH=/config/config.yaml
ENV LOG_LEVEL=INFO
ENV PYTHONUNBUFFERED=1
# config.yaml is intentionally NOT copied into the image — it is bind
# mounted at runtime (see docker-compose.yml) so it can be edited without
# rebuilding this image. A container restart is enough to pick up changes.
ENTRYPOINT ["python", "-m", "app.main"]