meridian-ml-service / render.yaml
yunlonggong's picture
Initial project upload
1b44660
raw
history blame contribute delete
649 Bytes
services:
- type: web
name: meridian-ml-service
env: python
# 注意这里的 repo 和 rootDir,确保它和你GitHub仓库一致
repo: https://github.com/你的GitHub用户名/meridian.git
rootDir: ./services/meridian-ml-service
plan: free # 使用免费套餐
branch: main # 部署 main 分支
buildFilter:
paths:
- "services/meridian-ml-service/**"
buildCommand: "pip install -r requirements.txt"
startCommand: "gunicorn -w 4 -k uvicorn.workers.UvicornWorker meridian_ml_service.main:app"
envVars:
- key: PYTHON_VERSION
value: "3.11" # 使用和项目匹配的Python版本