Commit Graph

8 Commits

Author SHA1 Message Date
00aaf1a941 Force drift rebuild: add CACHE_BUST build arg to Dockerfile + docker-compose
All checks were successful
CI — P2 Drift (Go + Node) / agent (push) Successful in 10s
CI — P2 Drift (Go + Node) / saas (push) Successful in 27s
2026-03-01 23:06:19 +00:00
580872f059 Fix docker-compose: add NODE_ENV=production to all services (drift crashes on pino-pretty in dev mode) 2026-03-01 20:41:47 +00:00
d6d8de16db Fix docker-compose: remap Postgres from :5432 to :5433 (5432 already in use on NAS) 2026-03-01 20:34:49 +00:00
aec0d62787 docker-compose: put Rust services behind 'rust' profile so Node services start independently
docker compose up -d          → starts Node services only (fast)
docker compose --profile rust up -d → starts everything including Rust (slow build)
2026-03-01 19:15:49 +00:00
6c97ce0547 Fix docker-compose: remap P5 cost from :3005 to :3007 (3005 is Gitea) 2026-03-01 19:07:52 +00:00
64213c39e9 Add P1/P2 to docker-compose, mount all 6 migration dirs, add P2 agent Dockerfile
- route-api (3001), route-proxy (8080), route-worker as separate services
- drift SaaS (3002) added
- All 6 product migrations mounted into postgres init
- docker-init-db.sh creates all 6 databases
2026-03-01 06:11:20 +00:00
2b86abc18d Fix docker-compose: use init script for multi-DB setup, fix build context paths
- Postgres init: mount docker-init-db.sh to create per-product databases and run migrations
- Fix build contexts: relative to products/ dir (compose lives in products/)
2026-03-01 05:59:27 +00:00
f2e0a32cc7 Wire auth middleware into all products, add docker-compose and init-db script
- Auth middleware (JWT + API key + RBAC) copied into P3/P4/P5/P6
- All server entry points now register auth hooks + auth routes
- Webhook and Slack endpoints skip JWT auth (use HMAC/signature)
- docker-compose.yml: shared Postgres + Redis + Meilisearch, all 4 Node products as services
- init-db.sh: creates per-product databases and runs migrations
- P1 (Rust) and P2 (Go agent) run standalone, not in compose
2026-03-01 03:10:35 +00:00