feat(BIT-247): consolidate error reporting repo from OTT

Merge ingest-api, collector-worker, admin-ui, database/error_reporting, deploy/lxc,
docker-compose, and deployment docs into the dedicated repository. Paths updated
for repo root (ER_REPO_ROOT, systemd WorkingDirectory). Root README documents layout.

Co-Authored-By: Paperclip <[email protected]>
This commit is contained in:
1sonhadorandPaperclip committed 2026-03-22 18:20:27 +00:00
1 parent eeb5039a3c
commit b0b733d5e1
88 files changed
+19321

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# BitReport error reporting — Docker Compose (copy to `.env` in this directory).
# `docker compose` reads `.env` automatically for variable substitution in docker-compose.yml.
# --- PostgreSQL (service: postgres) ---
ER_POSTGRES_USER=postgres
ER_POSTGRES_PASSWORD=postgres
ER_POSTGRES_DB=error_reporting
# Host port mapped to Postgres (container always listens on 5432)
ER_PUBLISH_PG_PORT=5434
# --- Ingest API (service: ingest-api) ---
ER_PUBLISH_INGEST_PORT=3041
# Optional rate limiting (defaults match ingest-api/src/config/env.ts)
# INGEST_RATE_LIMIT_MAX=300
# INGEST_RATE_LIMIT_WINDOW_MS=60000
# --- Collector worker (service: collector-worker) ---
# Demo token for the seeded HTTP fixture source (must match project token in DB seed)
ER_COLLECTOR_PROJECT_ALPHA_TOKEN=er_tst_a_secret_one
# TICK_INTERVAL_MS=3000
# SOURCE_REFRESH_MS=15000
# HTTP_FETCH_TIMEOUT_MS=15000
# MAX_BACKOFF_EXPONENT=8
# COLLECTOR_DEFAULT_INGEST_TOKEN=