forked from amanaiproduct/ai-trip-planner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
32 lines (32 loc) · 880 Bytes
/
render.yaml
File metadata and controls
32 lines (32 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
- type: web
name: ai-trip-planner-backend
env: python
plan: free
rootDir: backend
buildCommand: |
curl -LsSf https://astral.sh/uv/install.sh | sh || true
export PATH="$HOME/.local/bin:$PATH"
python -m venv .venv
. .venv/bin/activate
if command -v uv >/dev/null 2>&1; then
uv pip install -r requirements.txt
else
pip install -U pip
pip install -r requirements.txt
fi
startCommand: .venv/bin/uvicorn main:app --host 0.0.0.0 --port $PORT
autoDeploy: true
envVars:
- key: PYTHON_VERSION
value: 3.11.9
- key: OPENAI_API_KEY
sync: false
- key: OPENROUTER_API_KEY
sync: false
- key: OPENROUTER_MODEL
value: openai/gpt-4o-mini
- key: ARIZE_SPACE_ID
sync: false
- key: ARIZE_API_KEY
sync: false