-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
28 lines (28 loc) · 786 Bytes
/
Copy pathrender.yaml
File metadata and controls
28 lines (28 loc) · 786 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
services:
# Backend API Service
- type: web
name: multilingual-search-api
runtime: python
plan: free
region: oregon
buildCommand: "./build.sh"
startCommand: "uvicorn api:app --host 0.0.0.0 --port $PORT"
envVars:
- key: PYTHON_VERSION
value: "3.11.0"
- key: VECTOR_BACKEND
value: faiss
- key: FAISS_INDEX_PATH
value: /opt/render/project/src/artifacts/faiss_index
- key: INCLUDE_ENGLISH
value: "1"
- key: TRANSFORMERS_CACHE
value: /opt/render/project/src/.cache
- key: HF_HOME
value: /opt/render/project/src/.cache
disk:
name: faiss-storage
mountPath: /opt/render/project/src/artifacts
sizeGB: 1
healthCheckPath: /api/health
autoDeploy: true