Initial working calendar system
- Full CRUD events (create, edit, delete API) - Day + Event modal UX flow - Timezone-safe event handling - Dockerized API + frontend + Postgres - Vite + Fastify integration working
This commit is contained in:
@@ -12,5 +12,37 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/api/Dockerfile
|
||||
container_name: church-platform-api
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./apps/api:/app/apps/api
|
||||
- /app/apps/api/node_modules
|
||||
working_dir: /app/apps/api
|
||||
command: pnpm dev
|
||||
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/web/Dockerfile
|
||||
container_name: church-platform-web
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- api
|
||||
ports:
|
||||
- "5173:5173"
|
||||
volumes:
|
||||
- ./apps/web:/app/apps/web
|
||||
- /app/apps/web/node_modules
|
||||
working_dir: /app/apps/web
|
||||
command: pnpm dev --host 0.0.0.0
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user