first commit

This commit is contained in:
2026-10-09 02:48:31 +07:00
commit 8db22bfaa6
17 changed files with 1722 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# sicabe-config-agent — Python stdlib + PyYAML (image ramping).
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY agent.py ./
# Default; override via env AGENT_PORT.
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz')" || exit 1
ENTRYPOINT ["python", "-u", "agent.py"]