1.2 KiB
1.2 KiB
FR24 ingest compose skeleton
Goals
- PostgreSQL + PostGIS as the single database
- separate ingest placeholder service
- healthcheck/status scaffolding
- predictable volume layout
- environment-driven configuration
Proposed runtime layout
compose/— Docker Compose manifests and env examplesdb/postgres/— persistent PostgreSQL datadb/init/— bootstrap SQL for extensions and initial schemaingest/— capture/preprocess implementation lives here laterlogs/ingest/— service logslogs/status/— heartbeat/status artifactsbackup/— pg_dump and restore artifacts
Environment variables
POSTGRES_DBPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_PUBLISHED_PORTRAW_RETENTION_DAYSOVERLAP_MINUTESCAPTURE_SOURCETZAPP_ENV
Status scaffolding
The current skeleton includes a minimal status container that writes a heartbeat file. This is only a placeholder and should be replaced or extended by a real monitoring endpoint later.
Open questions
- whether capture and preprocess should become separate services immediately
- whether API/viewer belongs in the first compose cut or later
- whether a dedicated monitoring container is needed before hardware verification