commit 18ba64eaf86cfba5343f96903075bb03812c884f Author: grillkol Date: Mon Apr 27 16:33:52 2026 +0200 initial diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..edd22df --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.12-slim +WORKDIR /app +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt +COPY app/ ./app/ +EXPOSE 8000 +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file diff --git a/api/app/main.py b/api/app/main.py new file mode 100644 index 0000000..9e63ea3 --- /dev/null +++ b/api/app/main.py @@ -0,0 +1,7 @@ +from fastapi import FastAPI + +app = FastAPI(title="Signal - Roblox Telemetry") + +@app.get("/health") +async def health(): + return {"status": "ok"} \ No newline at end of file diff --git a/api/requirements.txt b/api/requirements.txt new file mode 100644 index 0000000..686ec53 --- /dev/null +++ b/api/requirements.txt @@ -0,0 +1,4 @@ +fastapi==0.115.0 +uvicorn==0.30.1 +influxdb-client==1.44.0 +python-dotenv==1.0.1 \ No newline at end of file