diff --git a/Dockerfile b/Dockerfile index 73710f1..a44f7d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN pip install 'uvicorn[standard]' ENV ENV=DEV EXPOSE 8000 -CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--timeout-keep-alive", "600", "--limit-max-requests", "0"] # Install curl RUN apt-get update && apt-get install -y curl && apt-get clean diff --git a/app/main.py b/app/main.py index 8bd37c9..fb31ae0 100644 --- a/app/main.py +++ b/app/main.py @@ -5,7 +5,7 @@ from validate_email import validate_email app = FastAPI( title="MailConfirm API", description="API for telegram bot for confirming emails.", - version="0.1.0", + version="0.1.1", docs_url="/", redoc_url=None, debug=False,