Files
ContentGen_BE/.env.example
Harun CAN 85c35c73e8
Some checks failed
Backend Deploy 🚀 / build-and-deploy (push) Has been cancelled
main
2026-03-29 12:43:49 +03:00

62 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Environment
NODE_ENV=development
PORT=3000
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/boilerplate_db?schema=public"
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_ACCESS_EXPIRATION=15m
JWT_REFRESH_EXPIRATION=7d
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# i18n
DEFAULT_LANGUAGE=en
FALLBACK_LANGUAGE=en
# Optional Features (set to "true" to enable)
ENABLE_MAIL=false
ENABLE_S3=false
ENABLE_WEBSOCKET=false
ENABLE_MULTI_TENANCY=false
# Mail (Optional - only needed if ENABLE_MAIL=true)
MAIL_HOST=smtp.example.com
MAIL_PORT=587
MAIL_USER=
MAIL_PASSWORD=
MAIL_FROM=noreply@example.com
# S3/MinIO (Optional - only needed if ENABLE_S3=true)
S3_ENDPOINT=http://localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET=uploads
S3_REGION=us-east-1
# Throttle / Rate Limiting
THROTTLE_TTL=60000
THROTTLE_LIMIT=100
# Gemini AI (Optional - only needed if ENABLE_GEMINI=true)
ENABLE_GEMINI=false
GOOGLE_API_KEY=your-google-api-key
GEMINI_MODEL=gemini-2.5-flash
# AudioCraft — HuggingFace Inference API (MusicGen + AudioGen)
# MusicGen: Text-to-music üretimi
# AudioGen: Text-to-sound efekti üretimi
# Ücretsiz HuggingFace hesabı yeterli: https://huggingface.co/settings/tokens
HUGGINGFACE_API_KEY=hf_your-huggingface-api-key
MUSICGEN_MODEL=facebook/musicgen-small
AUDIOGEN_MODEL=facebook/audiogen-medium
# Stripe Billing
STRIPE_SECRET_KEY=sk_test_your-stripe-key
STRIPE_WEBHOOK_SECRET=whsec_your-webhook-secret