.env.example 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Database Configuration
  2. # Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE
  3. DATABASE_URL=postgresql://username:password@localhost:5432/workout_cool
  4. # Authentication
  5. # The URL where your application is running
  6. BETTER_AUTH_URL="http://localhost:3000"
  7. # Generate a secure random string using: openssl rand -base64 32
  8. BETTER_AUTH_SECRET="your-secret-key-here"
  9. # Google OAuth
  10. # Get these from Google Cloud Console: https://console.cloud.google.com
  11. # Required scopes: email, profile
  12. GOOGLE_CLIENT_ID="your-google-client-id.apps.googleusercontent.com"
  13. GOOGLE_CLIENT_SECRET="your-google-client-secret"
  14. # OpenPanel Integration
  15. # Get these from your OpenPanel dashboard
  16. OPENPANEL_SECRET_KEY="op_sk_123456789"
  17. NEXT_PUBLIC_OPENPANEL_CLIENT_ID="op_pk_123456789"
  18. # Environment
  19. # Options: development, production, test
  20. NODE_ENV="development"
  21. #SMTP Configuration
  22. # Using MailHog for example. https://github.com/mailhog/MailHog
  23. SMTP_HOST=localhost
  24. SMTP_PORT=1025
  25. SMTP_USER=
  26. SMTP_PASS=
  27. SMTP_FROM="Workout Cool <noreply@workout.cool>"
  28. SMTP_SECURE=false
  29. # Whether to seed sample data on startup
  30. SEED_SAMPLE_DATA=true