Changed from manual git clone to proper submodule initialization. This ensures configs_repo is properly synced with .gitmodules.
18 lines
451 B
YAML
18 lines
451 B
YAML
services:
|
|
# Config API Service
|
|
- type: web
|
|
name: skill-seekers-api
|
|
runtime: python
|
|
plan: free
|
|
buildCommand: |
|
|
git submodule update --init --recursive &&
|
|
pip install -r api/requirements.txt
|
|
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
|