Initial commit

This commit is contained in:
Baryoniks
2026-08-12 18:38:57 +03:00
commit e28b594039
7 changed files with 140 additions and 0 deletions

15
log-collector/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV LOG_STORAGE_PATH=/data/logs.jsonl
EXPOSE 8080
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8081"]