Phase 9: scaffold remote server (Flask + Postgres, docker-compose for unraid)
- server/sql/init.sql: devices/tracking_points/dashcam_files schema - server/modules/db.py: psycopg3 pool + query helpers - server/modules/auth.py: X-Device-Name/X-Api-Key header auth - server/app.py: /health, /api/v1/tracking/batch, /api/v1/dashcam/upload - server/Dockerfile + docker-compose.yml: api (gunicorn) + postgres services - server/scripts/create_device.py: one-time device/API-key registration - server/README.md: unraid deployment + Cloudflare Tunnel exposure docs - PLAN.md: Phase 9 marked in progress with full build notes Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -25,3 +25,8 @@ db/sql/
|
||||
|
||||
# Imported dashcam footage (large, per-device data, not source)
|
||||
dash/videos/
|
||||
|
||||
# Remote server: local secrets and runtime data (Postgres volume, uploaded
|
||||
# dashcam files) - never commit real credentials or per-device data
|
||||
server/.env
|
||||
server/data/
|
||||
|
||||
Reference in New Issue
Block a user