24 lines
919 B
Plaintext
24 lines
919 B
Plaintext
# Database Configuration
|
|
# For Docker: postgresql://sportbuddy:sportbuddy123@postgres:5432/sportbuddy?schema=public
|
|
# For local: postgresql://sportbuddy:sportbuddy123@localhost:5432/sportbuddy?schema=public
|
|
DATABASE_URL="postgresql://sportbuddy:sportbuddy123@postgres:5432/sportbuddy?schema=public"
|
|
|
|
# Better Auth Configuration
|
|
# Generate a random 32+ character secret for production
|
|
# Example: openssl rand -base64 32
|
|
BETTER_AUTH_SECRET="change-this-to-a-random-secret-in-production-min-32-chars"
|
|
|
|
# Backend URL (used for Better Auth callbacks)
|
|
# For Docker: http://localhost:3001
|
|
# For production: https://your-backend-domain.com
|
|
BETTER_AUTH_URL="http://localhost:3001"
|
|
|
|
# OAuth Providers (Optional)
|
|
# Google OAuth 2.0 credentials from https://console.cloud.google.com/
|
|
GOOGLE_CLIENT_ID=""
|
|
GOOGLE_CLIENT_SECRET=""
|
|
|
|
# Apple OAuth credentials from https://developer.apple.com/
|
|
APPLE_CLIENT_ID=""
|
|
APPLE_CLIENT_SECRET=""
|