change default port to 3000

This commit is contained in:
Dominik Siebel 2024-09-17 14:36:43 +02:00 committed by Daniel Molkentin
parent 738fa12822
commit 916a8301b3
2 changed files with 25 additions and 25 deletions

2
.env
View File

@ -1,5 +1,5 @@
EOS_VERSION=latest
EOS_PORT=8000
EOS_PORT=3000
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", 5000)
port = os.getenv("FLASK_RUN_PORT", 3000)
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.")