We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24b185 commit 1ae02a5Copy full SHA for 1ae02a5
Dockerfile
@@ -3,7 +3,8 @@ MAINTAINER "Dmitry Berezovsky <[email protected]>"
3
4
ENV APP_PROCESS_NAME="wsgi-application"
5
ENV APP_MODULE="wsgi"
6
-ENV APP_WORKERS_COUNT="3"
+ENV APP_WORKERS_COUNT="4"
7
+ENV TIMEOUT="30"
8
ENV APP_LOG_LEVEL="info"
9
ENV APP_PORT="8000"
10
ENV LOG_DIR="/srv/logs"
start-gunicorn.sh
@@ -14,6 +14,7 @@ gunicorn $APP_MODULE \
14
--name $APP_PROCESS_NAME \
15
--bind 0.0.0.0:$APP_PORT \
16
--workers $APP_WORKERS_COUNT \
17
+ --timeout $TIMEOUT \
18
--log-level=$APP_LOG_LEVEL \
19
--log-file="$LOG_DIR/gunicorn.log" \
20
--access-logfile="$LOG_DIR/access.log" \
0 commit comments