-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
24 lines (24 loc) · 963 Bytes
/
Copy pathrender.yaml
File metadata and controls
24 lines (24 loc) · 963 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
services:
- type: web
name: parkhub-rust-demo
# Pull pre-built image from GHCR — avoids 20-30 min Rust build on Render's infra
# Image is built by GitHub Actions (.github/workflows/docker-publish.yml) on every push
image:
url: ghcr.io/nash87/parkhub-rust:latest
# Direct binary invocation — demo seeding is handled inside the binary when
# SEED_DEMO_DATA=true or DEMO_MODE=true (no shell wrapper needed in distroless).
dockerCommand: /app/parkhub-server --headless --unattended --data-dir /data --port 10000
port: 10000
plan: free
healthCheckPath: /health
envVars:
- key: RUST_LOG
value: info
- key: DEMO_MODE
value: "true"
- key: PARKHUB_ADMIN_PASSWORD
value: "demo"
- key: PARKHUB_DEMO_USERS_PASSWORD
value: "demo"
# /data is ephemeral on Render free tier — redb resets on each restart
# This is intentional: demo data always starts fresh