This commit is contained in:
parent
c769c971a7
commit
d573abbbf0
36
render.yaml
36
render.yaml
|
|
@ -1,36 +0,0 @@
|
|||
services:
|
||||
# Backend API Service
|
||||
- type: web
|
||||
name: tradingagents-backend
|
||||
runtime: python
|
||||
region: singapore
|
||||
plan: free
|
||||
buildCommand: pip install -r requirements.txt
|
||||
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
|
||||
envVars:
|
||||
- key: PYTHON_VERSION
|
||||
value: 3.13.0
|
||||
- key: OPENAI_API_KEY
|
||||
sync: false
|
||||
- key: ALPHA_VANTAGE_API_KEY
|
||||
sync: false
|
||||
- key: TRADINGAGENTS_RESULTS_DIR
|
||||
value: /opt/render/project/src/results
|
||||
healthCheckPath: /health
|
||||
rootDir: backend
|
||||
|
||||
# Frontend Web Service
|
||||
- type: web
|
||||
name: tradingagents-frontend
|
||||
runtime: node
|
||||
region: singapore
|
||||
plan: free
|
||||
buildCommand: npm install && npm run build
|
||||
startCommand: npm start
|
||||
envVars:
|
||||
- key: NEXT_PUBLIC_API_URL
|
||||
value: https://tradingagents-backend.onrender.com
|
||||
- key: NODE_ENV
|
||||
value: production
|
||||
healthCheckPath: /
|
||||
rootDir: frontend
|
||||
Loading…
Reference in New Issue