-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrender.yaml
62 lines (58 loc) · 1.79 KB
/
render.yaml
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
databases:
- name: limedb
databaseName: limedb
user: limedb_user
region: oregon
ipAllowList:
- source: 0.0.0.0/0
description: everywhere
postgresMajorVersion: "16"
services:
- type: web
name: limeJourney
runtime: node
repo: https://github.com/LimeJourney/limeJourney
plan: starter
region: oregon
buildCommand: "npm install; echo $NODE_VERSION; echo $DATABASE_URL; npx turbo run migrate:dev --filter=core-backend; npx turbo run build --filter=core-backend..."
startCommand: node apps/core-backend/dist/cli/clickhouse.js -- setup; node apps/core-backend/dist/index.js
envVars:
- key: ANTHROPIC_API_KEY
sync: false
- key: DATABASE_URL
fromDatabase:
name: limedb
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: Redis-Prod
property: connectionString
- fromGroup: LimeJourneyProd
- type: worker
name: limeJourney-worker
runtime: node
repo: https://github.com/LimeJourney/limeJourney
plan: starter
envVars:
# - key: TEMPORAL_CLOUD_API_KEY
# sync: false
# - key: TEMPORAL_CLOUD_NAMESPACE
# sync: false
# - key: TEMPORAL_CLOUD_SERVER_URL
# sync: false
- key: DATABASE_URL
fromDatabase:
name: limedb
property: connectionString
- fromGroup: LimeJourneyProd
region: oregon
buildCommand: npm install; echo $NODE_VERSION; echo $DATABASE_URL; npx turbo run migrate:dev --filter=core-backend; npx turbo run build --filter=core-backend...
startCommand: node apps/core-backend/dist/worker/index.js
- type: redis
name: Redis-Prod
plan: starter
region: oregon
maxmemoryPolicy: noeviction
ipAllowList: []
version: "1"