-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
27 lines (22 loc) · 819 Bytes
/
render.yaml
File metadata and controls
27 lines (22 loc) · 819 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
services:
- type: web
name: FRC-281-scouting
env: python
# Build command: install dependencies only
buildCommand: |
uv sync --frozen &&
uv cache prune --ci
# Start command: initialize database and run Streamlit app
startCommand: uv run python -m frc_data_281.db && uv run python -m frc_data_281.the_blue_alliance.pipeline && uv run streamlit run frc_data_281/app/Home.py --server.port=$PORT --server.address=0.0.0.0 --logger.level=info
# Environment variables
envVars:
- key: STREAMLIT_SERVER_HEADLESS
value: true
- key: STREAMLIT_CLIENT_TOOLBAR_MODE
value: viewer
- key: DB_PATH
value: /var/data/frc2026.duckdb
# Health check
healthCheckPath: /
# Auto-deploy on push to main
autoDeploy: false