30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# Root Environment Variables (used by Docker Compose)
|
|
|
|
# PostgreSQL Configuration (used by Docker Compose)
|
|
POSTGRES_USER=sportbuddy
|
|
POSTGRES_PASSWORD=sportbuddy123
|
|
POSTGRES_DB=sportbuddy
|
|
|
|
# Database URL (used by Backend/Prisma)
|
|
DATABASE_URL="postgresql://sportbuddy:sportbuddy123@postgres:5432/sportbuddy?schema=public"
|
|
|
|
# Better Auth Configuration
|
|
# Generate a random 32+ character secret for production: 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)
|
|
BETTER_AUTH_URL="http://localhost:3001"
|
|
|
|
# Frontend Configuration
|
|
# API URL for frontend to communicate with backend
|
|
NEXT_PUBLIC_API_URL="http://localhost:3001"
|
|
|
|
# OAuth Providers (Optional - configure only if you want to enable OAuth)
|
|
# Google OAuth: https://console.cloud.google.com/apis/credentials
|
|
GOOGLE_CLIENT_ID=""
|
|
GOOGLE_CLIENT_SECRET=""
|
|
|
|
# Apple OAuth: https://developer.apple.com/account/resources/identifiers/list/serviceId
|
|
APPLE_CLIENT_ID=""
|
|
APPLE_CLIENT_SECRET=""
|