diff --git a/monitor/main.py b/monitor/main.py index 88145bf..914757b 100644 --- a/monitor/main.py +++ b/monitor/main.py @@ -733,7 +733,7 @@ if __name__ == '__main__': # Start web service host = os.getenv("FLASK_HOST", "0.0.0.0") - port = 8080 + port = os.getenv("FLASK_PORT", 8080) debug = os.getenv("FLASK_DEBUG", "false").lower() == "true" app.run(host=host, port=port, debug=debug, threaded=True) \ No newline at end of file