change default port to 8503

This commit is contained in:
Dominik Siebel 2024-09-18 09:09:42 +02:00 committed by Daniel Molkentin
parent eaa23e6824
commit 226608dc9e
2 changed files with 2 additions and 2 deletions

2
.env
View File

@ -1,5 +1,5 @@
EOS_VERSION=latest
EOS_PORT=3000
EOS_PORT=8503
MARIADB_VERSION=11.1.6
PYTHON_VERSION=3.12.6

View File

@ -350,7 +350,7 @@ def root():
if __name__ == '__main__':
try:
host= os.getenv("FLASK_RUN_HOST", "0.0.0.0")
port = os.getenv("FLASK_RUN_PORT", 3000)
port = os.getenv("FLASK_RUN_PORT", 8503)
app.run(debug=True, host=host, port=port)
except:
print(f"Coud not bind to host {host}:{port}, set FLASK_RUN_HOST and/or FLASK_RUN_PORT.")