# Local dev / pnpm seed on your machine: use 127.0.0.1 (not "postgres").
# Inside Docker Compose network only: host can be the service name "postgres".
DATABASE_URL=postgresql://postgres:password123@127.0.0.1:5432/postgres
PAYLOAD_SECRET=your_payload_secret
NODE_ENV=development

# Public URL of this Payload app (no trailing slash). Used for admin links; Payload also adds it to CSRF allowlist.
# Example production: https://api.hanoman.co.id — optional for pure localhost dev.
# PAYLOAD_SERVER_URL=

# Contact endpoint configuration
CONTACT_TO_EMAIL=team@example.com
FRONTEND_ORIGIN=http://localhost:3000

# SMTP configuration
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=smtp_user@example.com
SMTP_PASS=your_smtp_password
SMTP_FROM_EMAIL=no-reply@example.com