We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5132a59 + b81e63d commit 95041f9Copy full SHA for 95041f9
.github/workflows/lint.yml
@@ -5,8 +5,8 @@ jobs:
5
runs-on: ubuntu-latest
6
steps:
7
- name: Checkout
8
- uses: actions/checkout@v2
9
- - uses: actions/setup-python@v1
+ uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
10
with:
11
python-version: 3.8
12
- name: Install flake8
Dockerfile
@@ -18,6 +18,7 @@ RUN chmod +x boot.sh
18
19
ENV FLASK_APP apolpi.py
20
ENV TIMEOUT 30
21
+ENV GUNICORN_TIMEOUT 30
22
EXPOSE 80
23
24
ENTRYPOINT ["/apolpi/boot.sh"]
boot.sh
@@ -1,2 +1,2 @@
1
#!/bin/sh
2
-exec gunicorn -b :80 --access-logfile - --error-logfile - apolpi:app
+exec gunicorn -b :80 --access-logfile - --error-logfile - --timeout ${GUNICORN_TIMEOUT:-30} apolpi:app
0 commit comments