- Update render.yaml to clone skill-seekers-configs during build - Update main.py to use configs_repo/official directory - Add fallback to local configs/ for development - Update config_analyzer to scan subdirectories recursively - Update download endpoint to search in subdirectories - Add configs_repository link to API root - Add configs_repo/ to .gitignore This separates config storage from main repo to prevent bloating. Configs now live at: https://github.com/yusufkaraaslan/skill-seekers-configs
18 lines
498 B
YAML
18 lines
498 B
YAML
services:
|
|
# Config API Service
|
|
- type: web
|
|
name: skill-seekers-api
|
|
runtime: python
|
|
plan: free
|
|
buildCommand: |
|
|
pip install -r api/requirements.txt &&
|
|
git clone https://github.com/yusufkaraaslan/skill-seekers-configs.git api/configs_repo
|
|
startCommand: cd api && uvicorn main:app --host 0.0.0.0 --port $PORT
|
|
envVars:
|
|
- key: PYTHON_VERSION
|
|
value: 3.10
|
|
- key: PORT
|
|
generateValue: true
|
|
healthCheckPath: /health
|
|
autoDeploy: true
|