.env.example 787 B

123456789101112131415161718192021
  1. # Local dev / pnpm seed on your machine: use 127.0.0.1 (not "postgres").
  2. # Inside Docker Compose network only: host can be the service name "postgres".
  3. DATABASE_URL=postgresql://postgres:password123@127.0.0.1:5432/postgres
  4. PAYLOAD_SECRET=your_payload_secret
  5. NODE_ENV=development
  6. # Public URL of this Payload app (no trailing slash). Used for admin links; Payload also adds it to CSRF allowlist.
  7. # Example production: https://api.hanoman.co.id — optional for pure localhost dev.
  8. # PAYLOAD_SERVER_URL=
  9. # Contact endpoint configuration
  10. CONTACT_TO_EMAIL=team@example.com
  11. FRONTEND_ORIGIN=http://localhost:3000
  12. # SMTP configuration
  13. SMTP_HOST=smtp.example.com
  14. SMTP_PORT=587
  15. SMTP_SECURE=false
  16. SMTP_USER=smtp_user@example.com
  17. SMTP_PASS=your_smtp_password
  18. SMTP_FROM_EMAIL=no-reply@example.com