diff --git a/wsgi.py b/wsgi.py index 2219c31..d4b190b 100644 --- a/wsgi.py +++ b/wsgi.py @@ -21,9 +21,9 @@ app = create_app() if __name__ == '__main__': from waitress import serve - port = int(os.getenv('PORT', 5000)) + port = int(os.getenv('PORT', 10000)) threads = int(os.getenv('WAITRESS_THREADS', multiprocessing.cpu_count() * 2 + 1)) - host = os.getenv('HOST', '127.0.0.1') # Bind to localhost by default (Nginx reverse proxy) + host = os.getenv('HOST', '0.0.0.0') # Bind to localhost by default (Nginx reverse proxy) print(f'Starting Waitress server on {host}:{port} with {threads} threads') serve(