You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/02/24 15:42:38 UTC

[allura] branch master updated: Add better gunicorn cmd example to docker-compose-prod.yml

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 43a0114  Add better gunicorn cmd example to docker-compose-prod.yml
43a0114 is described below

commit 43a0114efa8e75fe87c7cf0ac4bc8c9321228f3f
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Mon Feb 24 10:42:29 2020 -0500

    Add better gunicorn cmd example to docker-compose-prod.yml
---
 docker-compose-prod.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml
index 58c10fb..acb46ba 100644
--- a/docker-compose-prod.yml
+++ b/docker-compose-prod.yml
@@ -50,7 +50,8 @@ services:
     links:
       - mongo
       - solr
-    command: gunicorn --paste /allura-data/production.ini
+    # see http://docs.gunicorn.org/en/latest/settings.html#workers
+    command: gunicorn --paste /allura-data/production.ini --workers 4 --timeout 90
     restart: always
 
   taskd: