# Posse-Party Configuration
# Copy this file to .env and fill in your values before deploying

# Required Settings
# =================

# Your domain name for Posse-Party
# This will be used for HTTPS certificates and Rails URL generation
APP_HOST=posseparty.bendtstudio.com

# Secret key for Rails (generate with: openssl rand -hex 64)
SECRET_KEY_BASE=

# Database Configuration
# ======================
POSTGRES_USER=postgres
POSTGRES_PASSWORD=CHANGE_ME_TO_A_STRONG_PASSWORD
POSTGRES_DB=posse_party

# Optional: Email Configuration (required for login emails and notifications)
# Uncomment and configure one of the following providers:

# Option 1: SMTP (Generic)
# MAIL_PROVIDER=smtp
# MAIL_ADDRESS=smtp.example.com
# MAIL_PORT=587
# MAIL_USER_NAME=your-email@example.com
# MAIL_PASSWORD=your-email-password
# MAIL_AUTHENTICATION=plain
# MAIL_ENABLE_STARTTLS_AUTO=true

# Option 2: SendGrid
# MAIL_PROVIDER=sendgrid
# SENDGRID_API_KEY=your-api-key

# Option 3: Mailgun
# MAIL_PROVIDER=mailgun
# MAILGUN_API_KEY=your-api-key
# MAILGUN_DOMAIN=your-domain.com

# Option 4: Resend
# MAIL_PROVIDER=resend
# RESEND_API_KEY=your-api-key

# Option 5: Postmark
# MAIL_PROVIDER=postmark
# POSTMARK_API_KEY=your-api-key

# Option 6: Amazon SES
# MAIL_PROVIDER=amazon_ses
# AWS_ACCESS_KEY_ID=your-access-key
# AWS_SECRET_ACCESS_KEY=your-secret-key
# AWS_REGION=us-east-1

# Option 7: Brevo (formerly Sendinblue)
# MAIL_PROVIDER=brevo
# BREVO_API_KEY=your-api-key

# Option 8: Mailjet
# MAIL_PROVIDER=mailjet
# MAILJET_API_KEY=your-api-key
# MAILJET_SECRET_KEY=your-secret-key

# From Address (required if using email)
# MAIL_FROM_ADDRESS=posseparty@bendtstudio.com

# Optional: OAuth Providers (for social login)
# Uncomment and configure the providers you want to use:

# GitHub OAuth
# GITHUB_CLIENT_ID=your-github-client-id
# GITHUB_CLIENT_SECRET=your-github-client-secret

# Google OAuth
# GOOGLE_CLIENT_ID=your-google-client-id
# GOOGLE_CLIENT_SECRET=your-google-client-secret

# Twitter/X OAuth
# TWITTER_CLIENT_ID=your-twitter-client-id
# TWITTER_CLIENT_SECRET=your-twitter-client-secret

# LinkedIn OAuth
# LINKEDIN_CLIENT_ID=your-linkedin-client-id
# LINKEDIN_CLIENT_SECRET=your-linkedin-client-secret

# Optional: External Services
# ============================

# CDN for static assets (optional)
# RAILS_ASSET_HOST=https://cdn.bendtstudio.com

# S3/MinIO for file storage (optional, uses local filesystem by default)
# AWS_ACCESS_KEY_ID=your-access-key
# AWS_SECRET_ACCESS_KEY=your-secret-key
# AWS_REGION=us-east-1
# S3_BUCKET_NAME=posse-party-uploads
# S3_ENDPOINT=https://s3.amazonaws.com  # or your MinIO endpoint

# Optional: Feature Flags
# =======================

# Enable/disable user registrations
# REGISTRATION_ENABLED=true

# Default locale
# LOCALE=en

# Time zone
# TIME_ZONE=America/New_York
