a
This commit is contained in:
parent
96a6c5b2b5
commit
acb76c54d5
|
|
@ -11,12 +11,12 @@ elif [ -d ".venv" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 设置环境变量
|
# 设置环境变量
|
||||||
export DB_HOST=${DB_HOST:-localhost}
|
export DB_HOST=${DB_HOST:-deepx2025.cb6swsyucgro.ap-east-1.rds.amazonaws.com}
|
||||||
export DB_PORT=${DB_PORT:-3306}
|
export DB_PORT=${DB_PORT:-3306}
|
||||||
export DB_USER=${DB_USER:-root}
|
export DB_USER=${DB_USER:-autosys}
|
||||||
export DB_PASSWORD=${DB_PASSWORD:-}
|
export DB_PASSWORD=${DB_PASSWORD:-as2025}
|
||||||
export DB_NAME=${DB_NAME:-auto_trade_sys}
|
export DB_NAME=${DB_NAME:-auto_trade_sys}
|
||||||
export CORS_ORIGINS=${CORS_ORIGINS:-http://localhost:3000,http://localhost:5173}
|
export CORS_ORIGINS=${CORS_ORIGINS:-http://localhost:3000,http://localhost:5173}
|
||||||
|
|
||||||
# 启动服务
|
# 启动服务
|
||||||
uvicorn api.main:app --host 0.0.0.0 --port 8000 --reload
|
uvicorn api.main:app --host 0.0.0.0 --port 8001 --reload
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user