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]>
25 lines
938 B
Bash
25 lines
938 B
Bash
# 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=
|