Fix YouTube 500 error (n-challenge) and Telegram callback_data overflow

This commit is contained in:
vrubel 2026-04-30 17:21:10 +03:00
parent 4629535e97
commit 326eabaa99
12 changed files with 292 additions and 254 deletions

View file

@ -19,5 +19,6 @@ RUN mkdir -p downloads
# Запуск приложения
# Gunicorn: 1 worker (последовательная обработка), без таймаута
CMD ["gunicorn", "--workers=1", "--timeout=0", "--bind=0.0.0.0:5000", "app:app"]
# Порт берется из переменной окружения PORT (по умолчанию 5000)
CMD sh -c "gunicorn --workers=1 --timeout=0 --bind=0.0.0.0:${PORT:-5000} app:app"