version: "3.8"

services:
  backend:
    ports:
      - "8000:8000"
    environment:
      - DATABASE_URL=postgresql://mealplanner:${POSTGRES_PASSWORD:-devpassword}@localhost:5432/mealplanner

  frontend:
    ports:
      - "3000:80"
