7th_fix port

This commit is contained in:
beabigegg
2025-09-03 17:08:22 +08:00
parent 00061adeb7
commit 3b1bbcd2bc
13 changed files with 224 additions and 30 deletions

View File

@@ -72,7 +72,7 @@ REDIS_URL=redis://localhost:6379/0
# ===========================================
# CORS 設定
# ===========================================
CORS_ORIGINS=http://localhost:3000,http://localhost:3001,http://localhost:3002
CORS_ORIGINS=http://localhost:12012,http://localhost:3001,http://localhost:3002
# ===========================================
# 日誌設定

View File

@@ -83,7 +83,7 @@ REDIS_URL=redis://localhost:6379/0
# ===========================================
# CORS 設定
# ===========================================
CORS_ORIGINS=http://localhost:3000
CORS_ORIGINS=http://localhost:12012
# ===========================================
# 日誌設定

View File

@@ -30,7 +30,7 @@ ENV FLASK_APP=app.py
ENV PYTHONUNBUFFERED=1
# Expose port
EXPOSE 5000
EXPOSE 12011
# Run the application
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=5000"]
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=12011"]

View File

@@ -157,4 +157,4 @@ def register_error_handlers(app):
if __name__ == '__main__':
app = create_app()
app.run(host='0.0.0.0', port=5000, debug=True)
app.run(host='0.0.0.0', port=12011, debug=True)