2026-09-14 23:01:15 +01:00
|
|
|
# Browser requests use the same-origin Next.js proxy.
|
|
|
|
|
NEXT_PUBLIC_API_URL=/api
|
2026-02-02 20:34:35 +00:00
|
|
|
|
2026-09-14 23:01:15 +01:00
|
|
|
# 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
|
2026-02-02 20:34:35 +00:00
|
|
|
|
|
|
|
|
# Node Environment
|
|
|
|
|
NODE_ENV=development
|