-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathrender.yaml
More file actions
47 lines (43 loc) · 2.2 KB
/
Copy pathrender.yaml
File metadata and controls
47 lines (43 loc) · 2.2 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Render Blueprint for the OpenJarvis FastAPI server.
# Deploys src/openjarvis/server/app.py via deploy/docker/Dockerfile.
# Apply at: https://dashboard.render.com/blueprint/new?repo=https://github.com/open-jarvis/OpenJarvis
services:
- type: web
name: openjarvis-server
runtime: docker
plan: free
region: oregon
dockerfilePath: ./deploy/docker/Dockerfile
dockerContext: .
# Override the Dockerfile CMD while preserving its `jarvis` entrypoint.
# Render's default web-service port is 10000. Pin PORT and the CLI argument
# to that same value because Docker commands do not interpolate `$PORT`.
# Pin a cloud model as well as the engine. The repository's default model
# is local-only, so omitting this would make `jarvis serve` reject the
# otherwise healthy cloud engine during startup.
dockerCommand: serve --host 0.0.0.0 --port 10000 --engine cloud --model gpt-4o-mini
healthCheckPath: /health
autoDeploy: true
envVars:
# Force the cloud engine path. The free Render plan has no GPU and the
# bundled local backends (Ollama/vLLM) cannot run here. The command above
# selects the OpenAI-backed cloud engine and a model it can serve.
# Keep Render's expected public port aligned with the fixed Docker
# command above. Change both values together when customizing the port.
- key: PORT
value: "10000"
# Auth for the OpenJarvis API itself. Required because the server refuses
# to bind to a non-loopback host without an API key (check_bind_safety).
- key: OPENJARVIS_API_KEY
generateValue: true
# Required at initial Blueprint creation. Render's `sync: false` fields
# are operator-supplied secrets; using one provider here keeps the
# one-click contract deterministic instead of incorrectly requiring a
# key for every supported cloud provider.
- key: OPENAI_API_KEY
sync: false
# The free service filesystem is ephemeral. OpenJarvis state under this
# directory is lost on every restart, spin-down, or deploy. See
# docs/deployment/render.md before storing credentials or durable state.
- key: OPENJARVIS_HOME
value: /home/openjarvis/.openjarvis