-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
85 lines (82 loc) · 2.48 KB
/
Copy pathrender.yaml
File metadata and controls
85 lines (82 loc) · 2.48 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
services:
- type: web
runtime: static
name: signal-horizon-ui
buildCommand: corepack enable && pnpm install --frozen-lockfile && pnpm --filter @atlascrew/signal-horizon-ui build
staticPublishPath: ./apps/signal-horizon/ui/dist
buildFilter:
paths:
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- apps/signal-horizon/ui/**
- apps/signal-horizon/shared/**
ignoredPaths:
- apps/signal-horizon/api/**
envVars:
- key: VITE_API_URL
sync: false
- key: VITE_WS_URL
sync: false
- key: VITE_HORIZON_API_KEY
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html
- type: web
runtime: node
name: signal-horizon-api
plan: starter
buildCommand: corepack enable && pnpm install --frozen-lockfile && pnpm --filter @atlascrew/signal-horizon-api build
preDeployCommand: corepack enable && pnpm install --frozen-lockfile && pnpm --filter @atlascrew/signal-horizon-api db:migrate:prod
startCommand: pnpm --filter @atlascrew/signal-horizon-api start
healthCheckPath: /health
buildFilter:
paths:
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- apps/signal-horizon/api/**
- apps/signal-horizon/shared/**
ignoredPaths:
- apps/signal-horizon/ui/**
envVars:
- key: DATABASE_URL
fromDatabase:
name: signal-horizon-postgres
property: connectionString
- key: REDIS_URL
fromService:
type: keyvalue
name: signal-horizon-redis
property: connectionString
- key: NODE_ENV
value: production
- key: ENABLE_JOB_QUEUE
value: "true"
# Optional ClickHouse settings should be added in Render only when
# CLICKHOUSE_ENABLED is switched to "true" for historical analytics.
- key: CLICKHOUSE_ENABLED
value: "false"
- key: CORS_ORIGINS
sync: false
- key: JWT_SECRET
generateValue: true
- key: TELEMETRY_JWT_SECRET
generateValue: true
- key: CONFIG_ENCRYPTION_KEY
generateValue: true
- key: METRICS_AUTH_TOKEN
generateValue: true
- type: keyvalue
name: signal-horizon-redis
ipAllowList: []
plan: starter
maxmemoryPolicy: noeviction
databases:
- name: signal-horizon-postgres
plan: basic-1gb
ipAllowList: []
databaseName: signal_horizon
user: signal_horizon