Files
encar/.env.example
2026-04-16 18:08:31 +03:00

29 lines
804 B
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.
# ===== Encar Scraper Config =====
# Логирование
ENCAR_LOG_LEVEL=INFO
# База данных PostgreSQL
ENCAR_DATABASE_URL=postgresql+psycopg2://encar:encar@postgres:5432/encar_db
ENCAR_DATABASE_ECHO=false
ENCAR_DATABASE_POOL_SIZE=5
ENCAR_DATABASE_MAX_OVERFLOW=10
ENCAR_DATABASE_POOL_RECYCLE_SECONDS=1800
# Redis
ENCAR_REDIS_URL=redis://redis:6379/1
# Celery
CELERY_BROKER_URL=redis://redis:6379/1
CELERY_RESULT_BACKEND=redis://redis:6379/1
CELERY_TASK_SOFT_TIME_LIMIT=14400
CELERY_TASK_TIME_LIMIT=14520
CELERY_BROKER_VISIBILITY_TIMEOUT=15000
CELERY_WORKER_CONCURRENCY=4
CELERY_WORKER_MAX_TASKS_PER_CHILD=50
# Encar Beat — полный прогон каждые 60 минут
ENCAR_BEAT_INTERVAL_MINUTES=60
# 0 = без лимита, парсит ВСЕ авто
ENCAR_BEAT_LIMIT=0