fix&refactor: correct port mapping in docker-compose and set fixed port in main.py
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user