You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
833 B
27 lines
833 B
# Mode Selection (DEV=true for local dev, DEV=false for live production)
|
|
DEV=false
|
|
|
|
# Server HTTP Port Configuration (Change if port 80 or 8080 is in use by another app)
|
|
HTTP_PORT=8080
|
|
|
|
# Django Settings
|
|
DJANGO_SECRET_KEY=generate-a-strong-random-secret-key-here
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,YOUR_SERVER_IP
|
|
CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1,http://YOUR_SERVER_IP,http://YOUR_SERVER_IP:8080
|
|
|
|
# Database Configuration (PostgreSQL)
|
|
POSTGRES_DB=divar_crawler
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=your_secure_postgres_password
|
|
POSTGRES_HOST=db
|
|
POSTGRES_PORT=5432
|
|
|
|
# Redis & Celery
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
# LLM Config (OpenAI / OpenRouter)
|
|
OPENAI_API_KEY=sk-or-v1-your-openrouter-key-here
|
|
OPENAI_MODEL=google/gemma-4-26b-a4b-it:free
|
|
|
|
# Telegram Config
|
|
TELEGRAM_BOT_TOKEN=your-telegram-bot-token-here
|