services: backend: build: context: . dockerfile: Dockerfile # Use Dockerfile.prod for production ports: - "8000:8000" env_file: - .env environment: DATABASE_URL: "{DATABASE_URL}" volumes: - .:/app # sync code for hot reload