Commit graph

2 commits

Author SHA1 Message Date
Chris
eb1bae3b06 Exclude node_modules and data from Docker build context
Prevents host-built native modules (better-sqlite3) from overwriting the image's Linux build and keeps the live database/backups out of image layers.
2026-11-01 01:44:58 -05:00
Chris
423334db4d Add structured logging (Pino), Docker log rotation, and OpenObserve + Fluent Bit observability stack
- logger.js: Pino JSON logger with console-style helpers and pino-http request logging (static assets skipped, headers not logged, secrets redacted)

- server.js: replace 89 console.* calls with log.info/warn/error; add request logging middleware

- docker-compose.yml: json-file rotation (10m x 5, compressed), LOG_LEVEL, 'forkfolio' log tag

- observability/: standalone OpenObserve + Fluent Bit stack routing tagged container logs to per-app streams

- .dockerignore: exclude observability stack from app image
2026-11-01 01:17:21 -05:00