Remove reference to 8888 port

It wasn't really used anywhere, and setting it to 5000 everywhere removes ambiguity, and makes things easier to track and reason about
This commit is contained in:
Jake Howard 2020-05-12 22:10:20 +01:00
parent 5708f78ae6
commit 9182f1108f
No known key found for this signature in database
GPG Key ID: 57AFB45680EDD477
3 changed files with 8 additions and 8 deletions

View File

@ -76,7 +76,7 @@ Whoogle Search console runner
optional arguments:
-h, --help show this help message and exit
--port <port number> Specifies a port to run on (default 8888)
--port <port number> Specifies a port to run on (default 5000)
--host <ip address> Specifies the host address to use (default 127.0.0.1)
--debug Activates debug mode for the Flask server (default False)
```
@ -104,7 +104,7 @@ pip install -r requirements.txt
git clone https://github.com/benbusby/whoogle-search.git
cd whoogle-search
docker build --tag whooglesearch:1.0 .
docker run --publish 8888:5000 --detach --name whooglesearch whooglesearch:1.0
docker run --publish 5000:5000 --detach --name whooglesearch whooglesearch:1.0
```
And kill with: `docker rm --force whooglesearch`

View File

@ -146,8 +146,8 @@ def window():
def run_app():
parser = argparse.ArgumentParser(description='Whoogle Search console runner')
parser.add_argument('--port', default=8888, metavar='<port number>',
help='Specifies a port to run on (default 8888)')
parser.add_argument('--port', default=5000, metavar='<port number>',
help='Specifies a port to run on (default 5000)')
parser.add_argument('--host', default='127.0.0.1', metavar='<ip address>',
help='Specifies the host address to use (default 127.0.0.1)')
parser.add_argument('--debug', default=False, action='store_true',

View File

@ -5,5 +5,5 @@ services:
image: benbusby/whoogle-search
container_name: whoogle-search
ports:
- 8888:5000
- 5000:5000
restart: unless-stopped