File size: 2,425 Bytes
af1bee9 | 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 48 49 50 51 52 53 54 55 56 57 58 | # Render blueprint for a DEMO of Patchwise.
# In Render: New > Blueprint > pick this repository. Render builds the Dockerfile and starts one web service.
#
# Demo limits (by design, to fit a small instance):
# - it tests the built-in practice pod only (mock app, not Oracle Fusion);
# - test runs default to "quick simulation"; a full browser run needs a plan with at least 2 GB of memory;
# - no persistent disk on the free plan: data is reset whenever the service restarts or redeploys;
# - workflows run without Temporal (FPT_ORCHESTRATOR=langgraph).
services:
- type: web
name: patch-coworker-demo
runtime: docker
dockerfilePath: ./Dockerfile
dockerContext: .
plan: free
healthCheckPath: /api/ready
autoDeploy: true
envVars:
- key: FPT_ORCHESTRATOR
value: langgraph
- key: PLAYWRIGHT_MODE
value: stub
- key: FPT_BROWSER_RUNS # the free plan has 512 MB: too little for Chromium
value: "0"
- key: FPT_COOKIE_SECURE
value: always
- key: FPT_CASE_WRITEBACK
value: "0"
- key: PATCH_WATCH_ENABLED
value: "0"
- key: FPT_PRODUCT_NAME
value: Patchwise
- key: FPT_ORG_NAME
value: Demo
- key: FPT_BOOTSTRAP_ADMIN_USER
value: demo
# --- Supabase (optional). Leave the three values empty to run without it.
# Sign-in / register page: SUPABASE_URL + SUPABASE_ANON_KEY.
# Keeping the data across restarts (encrypted archive in Supabase Storage): also SUPABASE_SERVICE_KEY.
- key: SUPABASE_URL
sync: false
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_KEY
sync: false
# the key that encrypts the saved data; generated once, keep it or the saved data cannot be read back
- key: FPT_STATE_KEY
generateValue: true
# what a newly registered person may do: viewer (read only) or consultant (start runs, approve scenarios)
- key: FPT_REGISTER_ROLE
value: consultant
# e-mail addresses that become administrators when they sign in, as a JSON list: ["you@example.com"]
- key: FPT_ADMIN_EMAILS
sync: false
# Render generates a random password; read it under the service's Environment tab to sign in.
- key: FPT_BOOTSTRAP_ADMIN_PASSWORD
generateValue: true
|