Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
52 lines (50 loc) · 1.84 KB
/
Copy pathrender.yaml
File metadata and controls
52 lines (50 loc) · 1.84 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
previews:
generation: automatic
expireAfterDays: 6
services:
- type: web
name: code-infra-dashboard
runtime: node
rootDir: apps/code-infra-dashboard
buildCommand: |
# Required per https://github.com/pnpm/pnpm/issues/9029#issuecomment-2629866277
npm install -g corepack@latest
corepack enable
pnpm --version
pnpm install --frozen-lockfile
# The dashboard imports workspace packages at runtime, and they resolve through their build output.
pnpm --filter "code-infra-dashboard^..." build
pnpm build
startCommand: pnpm start
plan: starter
region: virginia
previews:
plan: starter
domains:
- frontend-public.mui.com
envVars:
- key: NODE_VERSION
value: 22
- key: QR_CODE_SECRET
generateValue: true
# The canonical origin, https://frontend-public.mui.com, set on the production
# service in the Render dashboard. PR comment links and QR codes use it.
# `sync: false` keeps it out of preview environments, which then fall back to
# their own RENDER_EXTERNAL_URL: production would reject QR codes signed with
# a preview's secret.
- key: DASHBOARD_ORIGIN
sync: false
# Encrypts the browser session cookie. Rotating it signs everyone out.
# GITHUB_OAUTH_CLIENT_ID / GITHUB_OAUTH_CLIENT_SECRET come from the
# "Code Infra GH App" group below; without them sign-in stays unavailable
# and the dashboard serves everyone anonymously.
- key: SESSION_SECRET
generateValue: true
- fromGroup: code-infra-dashboard AWS user
- fromGroup: X-license-code-infra
- fromGroup: CircleCI API token
- fromGroup: GitHub public
- fromGroup: Code Infra GH App
- fromGroup: MUI Store database
- fromGroup: HiBob
- fromGroup: code-infra-dashboard-zendesk