-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
69 lines (65 loc) · 2.09 KB
/
Copy pathrender.yaml
File metadata and controls
69 lines (65 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# yaml-language-server: $schema=https://render.com/schema/render.yaml.json
#
# Morphic on Render — Exa search example
# https://github.com/render-examples/morphic
# Upstream app: https://github.com/miurla/morphic
#
# Deploy: https://render.com/deploy?repo=https://github.com/render-examples/morphic
#
# Builds from ./Dockerfile. Migrations run on container start (docker-entrypoint.sh).
#
# Set at Apply or in the Dashboard after deploy:
# EXA_API_KEY — https://dashboard.exa.ai/
# One LLM key: ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_GENERATIVE_AI_API_KEY
#
# NODE_TLS_REJECT_UNAUTHORIZED: required for Render Postgres with upstream Morphic
# (no app code changes). Upstream lib/db uses strict TLS verification; Render's
# internal Postgres URL uses a platform CA that Node rejects without this.
previews:
generation: off
envVarGroups:
- name: morphic-render
envVars:
- key: NODE_ENV
value: production
- key: ENABLE_AUTH
value: "false"
- key: ANONYMOUS_USER_ID
value: anonymous-user
- key: SEARCH_API
value: exa
- key: NODE_TLS_REJECT_UNAUTHORIZED
value: "0"
projects:
- name: morphic
environments:
- name: production
services:
- type: web
name: morphic
runtime: docker
plan: standard
region: oregon
dockerfilePath: ./Dockerfile
dockerContext: .
healthCheckPath: /
maxShutdownDelaySeconds: 120
envVars:
- fromGroup: morphic-render
- key: DATABASE_URL
fromDatabase:
name: morphic-db
property: connectionString
- key: DATABASE_RESTRICTED_URL
fromDatabase:
name: morphic-db
property: connectionString
- key: EXA_API_KEY
sync: false
databases:
- name: morphic-db
plan: basic-256mb
region: oregon
databaseName: morphic
postgresMajorVersion: "17"
ipAllowList: []