You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2021/10/26 15:14:41 UTC

[allura] 01/03: [#8399] fix port config for gunicorn==20.x.x

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

dill0wn pushed a commit to branch dw/8399
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 05124a5816a81eb4520c5fb0582f48c514525739
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Mon Oct 25 17:16:34 2021 -0400

    [#8399] fix port config for gunicorn==20.x.x
---
 Allura/docker-dev.ini                | 5 -----
 Allura/production-docker-example.ini | 5 -----
 Dockerfile                           | 2 +-
 3 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/Allura/docker-dev.ini b/Allura/docker-dev.ini
index 7a7faaf..73e4de7 100644
--- a/Allura/docker-dev.ini
+++ b/Allura/docker-dev.ini
@@ -15,11 +15,6 @@
 ;       specific language governing permissions and limitations
 ;       under the License.
 
-[server:main]
-use = egg:Paste#http
-host = 0.0.0.0
-port = 8088
-
 # profile for profiling. use in conjunction with filter-with below.
 ;[filter:profile]
 ;use = egg:repoze.profile#profile
diff --git a/Allura/production-docker-example.ini b/Allura/production-docker-example.ini
index 1824aa1..df5dd59 100644
--- a/Allura/production-docker-example.ini
+++ b/Allura/production-docker-example.ini
@@ -30,11 +30,6 @@
 ; You are free to make additional changes/additions to this file for other settings
 
 
-[server:main]
-use = egg:Paste#http
-host = 0.0.0.0
-port = 8080
-
 [app:main]
 ;  this is a path within docker, thus it's just /allura
 use = config:/allura/Allura/docker-dev.ini#main
diff --git a/Dockerfile b/Dockerfile
index f361e92..382763e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -50,4 +50,4 @@ ENV USER root
 
 WORKDIR /allura
 ENV PYTHONUNBUFFERED 1
-CMD gunicorn --paste Allura/docker-dev.ini --reload
+CMD gunicorn --paste Allura/docker-dev.ini -b :8088 --reload