Fix YouTube 500 error (n-challenge) and Telegram callback_data overflow
This commit is contained in:
parent
4629535e97
commit
326eabaa99
12 changed files with 292 additions and 254 deletions
|
|
@ -14,5 +14,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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue