.env.example 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. # Facebook Pixel
  19. # Get this from Facebook Business Manager
  20. NEXT_PUBLIC_FACEBOOK_PIXEL_ID="123456789"
  21. # Environment
  22. # Options: development, production, test
  23. NODE_ENV="development"
  24. #SMTP Configuration
  25. # Using MailHog for example. https://github.com/mailhog/MailHog
  26. SMTP_HOST=localhost
  27. SMTP_PORT=1025
  28. SMTP_USER=
  29. SMTP_PASS=
  30. SMTP_FROM="Workout Cool <noreply@workout.cool>"
  31. SMTP_SECURE=false
  32. # Whether to seed sample data on startup
  33. SEED_SAMPLE_DATA=true