|
feat: dockerize app, add structured logging, fix rate limiter
Changes: - Add Dockerfile with python:3.12-slim, alembic migrations, uvicorn - Add .dockerignore - Update docker-compose.yml with app service, port 8020, external Ollama - Configure alembic/env.py to read DATABASE_URL from env - Update .env.example with port 8020, Ollama host 192.168.1.75, gemma4 model - Fix slowapi rate limiter: sync key_func instead of async - Add structured JSON logging (structlog) to ingest endpoint, pipeline stages - Fix logging output via logging.basicConfig for Docker stdout Co-Authored-By: Claude <noreply@anthropic.com> |
|---|
|
|
| .dockerignore 0 → 100644 |
|---|
| .env.example |
|---|
| Dockerfile 0 → 100644 |
|---|
| alembic/env.py |
|---|
| docker-compose.yml |
|---|
| src/vmk_data_collector/api/v1/router_properties.py |
|---|
| src/vmk_data_collector/core/config.py |
|---|
| src/vmk_data_collector/core/limiter.py |
|---|
| src/vmk_data_collector/core/logging.py |
|---|
| src/vmk_data_collector/services/property_pipeline.py |
|---|