-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
40 lines (39 loc) · 1.04 KB
/
Copy pathrender.yaml
File metadata and controls
40 lines (39 loc) · 1.04 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
services:
- type: web
name: phantom-csm-api
runtime: node
plan: free
buildCommand: npm ci --include=dev && npm run build
startCommand: node dist/index.js
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false
- key: RABBITMQ_URL
sync: false
- key: REDIS_URL
sync: false
- key: JWT_SECRET
sync: false
- key: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
value: "1"
# Worker (Background Worker — paid tier required on Render)
# Deploy separately or run locally for dev:
# node dist/worker.js
# In production, re-enable with plan: starter
#
# - type: worker
# name: phantom-csm-worker
# runtime: node
# buildCommand: npm ci && npm run build && npx playwright install chromium --with-deps
# startCommand: node dist/worker.js
# envVars:
# - key: NODE_ENV
# value: production
# - key: DATABASE_URL
# sync: false
# - key: RABBITMQ_URL
# sync: false
# - key: REDIS_URL
# sync: false