We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff486b3 commit af32ee1Copy full SHA for af32ee1
config/prod.env
@@ -168,6 +168,10 @@ NUMBER_OF_PROXIES=1
168
169
#
170
# Gunicorn
171
-# The number of workers to spawn. This is the number of processes that will be
172
-# spawned to handle requests. The recommended number of workers is (2 x $num_cores) + 1
173
-GUNICORN_WORKERS=3
+#
+# Additional gunicorn options, change as needed.
+# For the number of workers to spawn, a usually recommended value is (2 x $num_cores) + 1
174
+# see:
175
+# - https://docs.gunicorn.org/en/stable/settings.html
176
+# - https://github.com/wger-project/wger/blob/master/extras/docker/production/entrypoint.sh#L95
177
+GUNICORN_CMD_ARGS="--workers 3 --threads 2 --worker-class gthread --proxy-protocol True --timeout 240"
0 commit comments