69 lines
2.1 KiB
Bash
69 lines
2.1 KiB
Bash
# Quizzical Beats - Environment Variables Demo File
|
|
# Copy this file to .env and replace with your actual values
|
|
|
|
# Debug settings
|
|
DEBUG=True
|
|
DEBUG2=False
|
|
SECRET_KEY=your-secret-key-here-make-it-long-and-random
|
|
|
|
# API Keys
|
|
OPENAI_API_KEY=your-openai-api-key
|
|
OPENAI_URL=https://api.openai.com/v1
|
|
OPENAI_MODEL=gpt-4o-mini
|
|
OPENAI_SEARCH_MODEL=gpt-4o-mini-search-preview
|
|
|
|
# Translation and language services
|
|
DEEPL_API_KEY=your-deepl-api-key
|
|
MEANINGCLOUD_API_KEY=your-meaningcloud-api-key
|
|
|
|
# Audio services
|
|
ELEVENLABS_API_KEY=your-elevenlabs-api-key
|
|
ACRCLOUD_TOKEN=your-acrcloud-token
|
|
|
|
# Music APIs
|
|
LASTFM_API_KEY=your-lastfm-api-key
|
|
|
|
# Database configuration
|
|
SQLALCHEMY_DATABASE_URI=sqlite:///data/song_data.db
|
|
SQLALCHEMY_TRACK_MODIFICATIONS=False
|
|
|
|
# HTTPS Configuration (for reverse proxy environments)
|
|
# Set to True when running behind a reverse proxy with HTTPS offloading (e.g., Traefik)
|
|
USE_HTTPS=False
|
|
# Uncomment and set to 'https' for production environments behind HTTPS proxy
|
|
# PREFERRED_URL_SCHEME=https
|
|
|
|
# Spotify API configuration
|
|
SPOTIFY_CLIENT_ID=your-spotify-client-id
|
|
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
|
|
SPOTIFY_REDIRECT_URI=http://localhost:5000/auth/spotify/callback
|
|
|
|
# Deezer API configuration
|
|
DEEZER_APP_ID=your-deezer-app-id
|
|
DEEZER_APP_SECRET=your-deezer-app-secret
|
|
DEEZER_REDIRECT_URI=http://localhost:5000/deezer-callback
|
|
|
|
# OAuth providers
|
|
# Google OAuth configuration
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
|
|
# Authentik OAuth configuration
|
|
AUTHENTIK_CLIENT_ID=your-authentik-client-id
|
|
AUTHENTIK_CLIENT_SECRET=your-authentik-client-secret
|
|
AUTHENTIK_METADATA_URL=https://authentik.example.com/.well-known/openid-configuration
|
|
|
|
# Dropbox OAuth configuration
|
|
DROPBOX_APP_KEY=your-dropbox-app-key
|
|
DROPBOX_APP_SECRET=your-dropbox-app-secret
|
|
DROPBOX_REDIRECT_URI=http://localhost:5000/users/dropbox/callback
|
|
|
|
# Email configuration
|
|
MAIL_HOST=smtp.example.com
|
|
MAIL_PORT=587
|
|
MAIL_USE_TLS=True
|
|
MAIL_USE_SSL=False
|
|
MAIL_USERNAME=your-email-username
|
|
MAIL_PASSWORD=your-email-password
|
|
MAIL_SENDER=quizzical-beats@example.com
|
|
MAIL_RECIPIENT=admin@example.com |