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

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

commit 64826d429f2abba2756faed5543d9c5fb6615fe4
Author: Dave Brondsema <[email protected]>
AuthorDate: Fri Feb 25 15:49:31 2022 -0500

    Gunicorn 20+ stopped getting port # from .ini file: we fixed Dockerfile a 
while ago but missed other spots
---
 Allura/docs/development/contributing.rst          | 4 ++--
 Allura/docs/getting_started/install_each_step.rst | 2 +-
 docker-compose-prod.yml                           | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Allura/docs/development/contributing.rst 
b/Allura/docs/development/contributing.rst
index 65daa7a..bd9fcbf 100644
--- a/Allura/docs/development/contributing.rst
+++ b/Allura/docs/development/contributing.rst
@@ -182,7 +182,7 @@ foreground::
 
     cd Allura
     # web
-    pkill -f gunicorn; gunicorn --reload --paste development.ini
+    pkill -f gunicorn; gunicorn --reload --paste development.ini -b :8080
     # taskd
     pkill "^taskd"; paster taskd development.ini --nocapture
 
@@ -200,7 +200,7 @@ as ``pudb`` are also available.
 
        docker-compose run web pip install ipdb
        docker-compose stop web taskd
-       docker-compose run --service-ports web gunicorn --reload --paste 
Allura/docker-dev.ini
+       docker-compose run --service-ports web gunicorn --reload --paste 
Allura/docker-dev.ini -b :8088
        docker-compose run taskd paster taskd docker-dev.ini --nocapture
 
 
diff --git a/Allura/docs/getting_started/install_each_step.rst 
b/Allura/docs/getting_started/install_each_step.rst
index 6f10b11..d11c955 100644
--- a/Allura/docs/getting_started/install_each_step.rst
+++ b/Allura/docs/getting_started/install_each_step.rst
@@ -229,7 +229,7 @@ This shouldn't take too long, but it will start the taskd 
server doing tons of s
 
 .. code-block:: bash
 
-    (env-allura)~/src/allura/Allura$ gunicorn --reload --paste development.ini 
 # add --daemon to run in the background
+    (env-allura)~/src/allura/Allura$ gunicorn --reload --paste development.ini 
-b :8080  # add --daemon to run in the background
 
 Next Steps
 ^^^^^^^^^^
diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml
index 8ae6cc4..b20f781 100644
--- a/docker-compose-prod.yml
+++ b/docker-compose-prod.yml
@@ -51,7 +51,7 @@ services:
       - mongo
       - solr
     # see http://docs.gunicorn.org/en/latest/settings.html#workers
-    command: gunicorn --paste /allura-data/production.ini --workers 4 
--timeout 90
+    command: gunicorn --paste /allura-data/production.ini --workers 4 
--timeout 90 -b :8088
     restart: always
 
   taskd:

Reply via email to