.env.example 1.2 KB

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