Files
freelancer-match/backend/.env.example
T

34 lines
733 B
Bash
Raw Normal View History

# Database
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/freelancer_match
# Redis
REDIS_URL=redis://localhost:6379/0
# JWT
SECRET_KEY=your-secret-key-change-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=15
REFRESH_TOKEN_EXPIRE_DAYS=7
# OpenAI (для AI-матчинга)
OPENAI_API_KEY=sk-...
EMBEDDING_MODEL=text-embedding-3-small
# OAuth
GOOGLE_CLIENT_ID=...
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...
# Stripe (Escrow)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
# Email
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=noreply@freelancermatch.com
SMTP_PASSWORD=...
EMAIL_FROM=noreply@freelancermatch.com
# CORS
ALLOWED_ORIGINS=["http://localhost:3000","https://freelancermatch.com"]