diff --git a/monitor/docker-compose.yml b/monitor/docker-compose.yml index a03c56c..f5463fa 100644 --- a/monitor/docker-compose.yml +++ b/monitor/docker-compose.yml @@ -6,7 +6,7 @@ services: context: .. dockerfile: monitor/Dockerfile ports: - - "${FLASK_PORT:-8080}:${FLASK_PORT:-8080}" + - "${FLASK_PORT:-8080}:8080" volumes: - ../evaluation_examples:/app/evaluation_examples - ../results_operator_aws:/app/results_operator_aws diff --git a/monitor/main.py b/monitor/main.py index fa83ca0..1e1bfec 100644 --- a/monitor/main.py +++ b/monitor/main.py @@ -183,7 +183,7 @@ if __name__ == '__main__': # Start web service host = os.getenv("FLASK_HOST", "0.0.0.0") - port = int(os.getenv("FLASK_PORT", "8080")) + port = 8080 debug = os.getenv("FLASK_DEBUG", "false").lower() == "true" app.run(host=host, port=port, debug=debug) \ No newline at end of file