-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrender.yaml
More file actions
32 lines (31 loc) · 1.33 KB
/
Copy pathrender.yaml
File metadata and controls
32 lines (31 loc) · 1.33 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
# Render Blueprint — one-click deploy of Cut + a managed Key Value (Valkey/Redis)
# store, wired together automatically. See https://render.com/docs/blueprint-spec
services:
# The Cut app. Render detects pnpm from package.json's packageManager field and
# builds straight from the repo — no Dockerfile. `pnpm build` bundles the Hono
# server; `pnpm start` runs it and binds $PORT.
- type: web
name: cut
runtime: node
plan: free
buildCommand: pnpm install && pnpm build
startCommand: pnpm start
envVars:
# Prompted on deploy (sync: false = not stored in the Blueprint). Protects /admin.
- key: ADMIN_PASSWORD
sync: false
# The Key Value instance's private connection string, injected automatically.
# Cut auto-selects its Redis-over-TCP backend (lib/store/redis.ts) when set.
- key: REDIS_URL
fromService:
type: keyvalue
name: cut-kv
property: connectionString
# Managed Key Value store (Valkey 8, Redis-compatible). This is Cut's primary
# datastore, so noeviction keeps links from being dropped under memory pressure
# (the default allkeys-lru would treat it like a cache and evict keys).
- type: keyvalue
name: cut-kv
plan: free
ipAllowList: [] # private network only — no public internet access
maxmemoryPolicy: noeviction