Arnaud
16f885fedb
fix(deploy): drop broken migrate service, add defaults for missing env vars
...
migrate service used TypeScript source not available in standalone image.
Migrations must be run separately (pnpm db:migrate against prod DB).
Added defaults: POSTGRES_DB=epicure, POSTGRES_USER=epicure, MINIO_ROOT_USER=minioadmin.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 13:59:22 +02:00
Arnaud
b1ccae5368
fix(deploy): use pg_isready without -U to avoid interpolation issue
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 13:53:00 +02:00
Arnaud
963e73a84a
fix(deploy): add start_period to healthchecks to survive first-boot init
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 13:35:03 +02:00
Arnaud
0b0c59374b
chore(deploy): simplify prod compose — no Traefik, expose APP_PORT only
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 13:31:26 +02:00
Arnaud
fb4c624d40
feat(deploy): add Docker build + Traefik-based production deployment
...
- Dockerfile: multi-stage pnpm monorepo build with Next.js standalone output
- .dockerignore: exclude node_modules, .next, .env, dev artifacts
- next.config.ts: enable `output: standalone` for slim runtime image
- compose.prod.yml: replace Caddy with Traefik labels, add migrate init
service, split internal/external networks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 13:28:30 +02:00
Arnaud
ae7c5d943e
chore: init pnpm monorepo workspace
...
Root config: pnpm workspaces, tsconfig base, docker compose (postgres, redis, minio), .npmrc.
2026-07-01 08:08:29 +02:00