Files
Ekklesia/docker-compose.yml
Media fe4b354b93 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
2026-04-15 20:39:14 -05:00

48 lines
1.0 KiB
YAML

services:
postgres:
image: postgres:16
container_name: church-platform-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: church_platform
ports:
- "5432:5432"
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: