-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrender.yaml
More file actions
38 lines (36 loc) · 966 Bytes
/
Copy pathrender.yaml
File metadata and controls
38 lines (36 loc) · 966 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
28
29
30
31
32
33
34
35
36
37
38
# Glyph on Render — API + Postgres (+ optional compile worker)
# Frontend stays on Vercel. After deploy set:
# NEXT_PUBLIC_API_URL=https://glyph-api-df89.onrender.com
#
# Worker requires a paid plan / payment method on Render (not creatable on free).
databases:
- name: glyph-db
plan: free
postgresMajorVersion: "16"
services:
- type: web
name: glyph-api
runtime: docker
plan: free
dockerfilePath: ./server/Dockerfile
dockerContext: .
healthCheckPath: /
envVars:
- key: NODE_ENV
value: production
- key: DB_SSL
value: "true"
- key: DATABASE_URL
fromDatabase:
name: glyph-db
property: connectionString
- key: FRONTEND_URL
sync: false
- key: CLERK_PUBLISHABLE_KEY
sync: false
- key: CLERK_SECRET_KEY
sync: false
- key: GEMINI_API_KEY
sync: false
- key: GEMINI_MODEL
value: gemini-2.5-flash