Files
WealthySmart/docker-compose.yml
Carlos Escalante 8d76059ae8
All checks were successful
Deploy to VPS / deploy (push) Successful in 34s
Add budget module and push notifications for transactions
Budget: recurring items CRUD, yearly/monthly projections with no-double-count
logic, and full UI (overview, monthly detail, recurring items manager).

Push notifications: Web Push via VAPID keys, triggered on transaction creation
from n8n. Includes service worker handlers, frontend subscription flow, and
a test button on the Dashboard (temporary).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 22:28:14 -06:00

49 lines
1.1 KiB
YAML

services:
db:
image: postgres:16-alpine
container_name: wealthysmart-db-dev
environment:
POSTGRES_USER: wealthy_user
POSTGRES_PASSWORD: wealthy_pass
POSTGRES_DB: wealthysmart
ports:
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U wealthy_user -d wealthysmart"]
interval: 5s
timeout: 3s
retries: 5
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: wealthysmart-backend-dev
environment:
DATABASE_URL: postgresql://wealthy_user:wealthy_pass@db:5432/wealthysmart
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY:-}
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY:-}
ports:
- "8001:8000"
volumes:
- ./backend:/app
depends_on:
db:
condition: service_healthy
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: wealthysmart-frontend-dev
ports:
- "5175:5173"
volumes:
- ./frontend:/app
- /app/node_modules
volumes:
postgres_data: