first commit
This commit is contained in:
31
.env.example
Normal file
31
.env.example
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
|
||||
# OpenRouter (AI Generation)
|
||||
OPENROUTER_API_KEY=your-openrouter-api-key-here
|
||||
OPENROUTER_MODEL_QWEN=qwen/qwen-2.5-coder-32b-instruct
|
||||
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
|
||||
Reference in New Issue
Block a user