Make all ports default to 8080
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user