Make all ports default to 8080

master
pictuga 2020-04-18 17:15:59 +02:00
parent 497c14db81
commit 4f44df8d63
2 changed files with 4 additions and 4 deletions

View File

@ -5,4 +5,4 @@ RUN apk add python3 py3-lxml py3-pip git
RUN pip3 install gunicorn RUN pip3 install gunicorn
RUN pip3 install git+https://git.pictuga.com/pictuga/morss.git@master 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

View File

@ -141,7 +141,7 @@ ensure that the provided `/www/.htaccess` works well with your server.
Running this command should do: Running this command should do:
```shell ```shell
uwsgi --http :9090 --plugin python --wsgi-file main.py uwsgi --http :8080 --plugin python --wsgi-file main.py
``` ```
#### Using Gunicorn #### Using Gunicorn
@ -161,10 +161,10 @@ docker build https://git.pictuga.com/pictuga/morss.git
Run & Build in one go Run & Build in one go
```shell ```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 #### Using morss' internal HTTP server