infra: add Docker Compose setup for local development

- Configure PostgreSQL 18 and Valkey 9.1 services
- Create multi-stage Dockerfiles for API and Web apps
- Set up pnpm workspace support in container builds
- Configure hot reload via volume mounts for both services
- Add healthchecks for service orchestration
- Support dev/production stage targets (tsx watch vs compiled)
This commit is contained in:
lila 2026-03-25 18:56:04 +01:00
parent 671d542d2d
commit 2ebf0d0a83
13 changed files with 174 additions and 7 deletions

View file

@ -24,9 +24,9 @@ A multiplayer EnglishItalian vocabulary trainer with a Duolingo-style quiz in
| Styling | Tailwind CSS + shadcn/ui |
| Backend | Node.js, Express, TypeScript |
| Realtime | WebSockets (`ws` library) |
| Database | PostgreSQL 16 |
| Database | PostgreSQL 18 |
| ORM | Drizzle ORM |
| Cache / Queue | Valkey 8 |
| Cache / Queue | Valkey 9 |
| Auth | OpenAuth (Google + GitHub) |
| Validation | Zod (shared schemas) |
| Testing | Vitest, React Testing Library |