Merge pull request #29 from Discours/zero-downtime

dokku zero downtime
This commit is contained in:
Tony 2022-11-11 11:02:11 +03:00 committed by GitHub
commit c38a565b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 15 deletions

5
CHECKS Normal file
View File

@ -0,0 +1,5 @@
WAIT=30
TIMEOUT=10
ATTEMPTS=60 # 60 * 30 = 30 min
/ Playground

View File

@ -11,5 +11,3 @@ COPY requirements.txt ./
RUN set -ex && pip install -r requirements.txt
COPY . .
CMD ["python", "server.py"]

2
Procfile Normal file
View File

@ -0,0 +1,2 @@
web: python server.py