feat: Docker self-hosting setup #16

Merged
ghost merged 1 commits from feat/docker-self-hosting into main 2026-03-17 18:50:07 +00:00

1 Commits

Author SHA1 Message Date
Groom Book CTO 1098120bf3 feat: Docker self-hosting setup with migration service and auth bypass
- Fix Dockerfiles to copy pnpm-lock.yaml (frozen-lockfile compliance)
- Add migrate target to API Dockerfile using builder stage
- Add migrate service to docker-compose that runs before API starts
- Add AUTH_DISABLED env var bypass to auth middleware for dev/Docker
- Proxy /api/ from nginx to API container (no CORS needed)
- Include initial Drizzle migration (0000_colossal_colossus.sql)
- Add .env.example with all configurable variables
- Update README with Docker self-hosting instructions

Closes #7

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-17 18:45:42 +00:00