# Browser requests use the same-origin Next.js proxy. NEXT_PUBLIC_API_URL=/api # Absolute URL for server-side fetching and the proxy; include /api. # In the managed container network this is http://backend:80/api (staging differs). FASTAPI_URL=http://localhost:8000/api # Payload CMS runtime configuration. Use the managed environment's database; # Payload owns the payload schema, independently of the school marts. DATABASE_URL=postgresql://schoolcompare:CHANGE_THIS_PASSWORD@localhost:5432/schoolcompare # Generate a secret: python -c "import secrets; print(secrets.token_urlsafe(32))" # Use distinct secrets for staging and production. PAYLOAD_SECRET=CHANGE_THIS_TO_A_SECURE_RANDOM_SECRET # Node Environment NODE_ENV=development