Files
health-api/README.md
2026-03-26 19:03:10 +01:00

13 lines
456 B
Markdown

# Health-API
FastAPI system monitoring and remote control service for the smol-pie.
## Features
- **GET `/status`**: Public endpoint for CPU, Temperature, Memory, and Network stats.
- **POST `/led/blink`**: Protected endpoint (`x-token` header required) to trigger the LED flash.
- **GET `/health`**: Simple health check.
## Deployment
Runs inside a Docker container.
1. `docker compose up -d`
2. Ensure a local `.env` file exists with `LUNA_API_TOKEN`.