From 4f44df8d635c0829279a89a76d9640228e6409ef Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 18 Apr 2020 17:15:59 +0200 Subject: [PATCH] Make all ports default to 8080 --- Dockerfile | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e75f2bd..cd28c10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ RUN apk add python3 py3-lxml py3-pip git RUN pip3 install gunicorn RUN pip3 install git+https://git.pictuga.com/pictuga/morss.git@master -CMD gunicorn --bind 0.0.0.0:8000 -w 4 morss:cgi_standalone_app +CMD gunicorn --bind 0.0.0.0:8080 -w 4 morss:cgi_standalone_app diff --git a/README.md b/README.md index cd24398..ced0985 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ ensure that the provided `/www/.htaccess` works well with your server. Running this command should do: ```shell -uwsgi --http :9090 --plugin python --wsgi-file main.py +uwsgi --http :8080 --plugin python --wsgi-file main.py ``` #### Using Gunicorn @@ -161,10 +161,10 @@ docker build https://git.pictuga.com/pictuga/morss.git Run & Build in one go ```shell -docker run --rm $(docker build -q https://git.pictuga.com/pictuga/morss.git) +docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git) ``` -It will run on port 8000 by default +It will run on port 8080 by default #### Using morss' internal HTTP server