Files
vip-coordinator/docker-compose.dev.yml
kyle ae3702c3b1 Backup: 2025-06-07 18:32 - Production setup complete
[Restore from backup: vip-coordinator-backup-2025-06-07-18-32-production-setup-complete]
2026-01-24 09:31:11 +01:00

52 lines
913 B
YAML

version: '3.8'
services:
db:
image: postgres:15
environment:
POSTGRES_DB: vip_coordinator
POSTGRES_PASSWORD: changeme
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- 5432:5432
redis:
image: redis:7
ports:
- 6379:6379
backend:
build:
context: ./backend
target: development
environment:
DATABASE_URL: postgresql://postgres:changeme@db:5432/vip_coordinator
REDIS_URL: redis://redis:6379
ports:
- 3000:3000
depends_on:
- db
- redis
volumes:
- ./backend:/app
- /app/node_modules
frontend:
build:
context: ./frontend
target: development
environment:
VITE_API_URL: http://localhost:3000/api
ports:
- 5173:5173
depends_on:
- backend
volumes:
- ./frontend:/app
- /app/node_modules
volumes:
postgres-data: