Files
yellow-bank-soal/.env.example
2026-04-02 08:04:16 +07:00

37 lines
1.0 KiB
Plaintext

# Database
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/irt_bank_soal
DB_HOST=localhost
DB_PORT=5432
DB_NAME=irt_bank_soal
DB_USER=postgres
DB_PASSWORD=your_password_here
# FastAPI
SECRET_KEY=your-secret-key-here-change-in-production
API_V1_STR=/api/v1
PROJECT_NAME=IRT Bank Soal
ENVIRONMENT=development
ENABLE_ADMIN=false
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me
ADMIN_SESSION_EXPIRE_SECONDS=3600
# OpenRouter (AI Generation)
OPENROUTER_API_KEY=your-openrouter-api-key-here
OPENROUTER_MODEL_QWEN=qwen/qwen2.5-32b-instruct
OPENROUTER_MODEL_CHEAP=mistralai/mistral-small-2603
OPENROUTER_MODEL_LLAMA=meta-llama/llama-3.3-70b-instruct
OPENROUTER_TIMEOUT=30
# WordPress Integration
WORDPRESS_API_URL=https://your-wordpress-site.com/wp-json
WORDPRESS_AUTH_TOKEN=your-wordpress-jwt-token
# Redis (Celery)
REDIS_URL=redis://localhost:6379/0
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# CORS
ALLOWED_ORIGINS=https://site1.com,https://site2.com,https://site3.com