-
Notifications
You must be signed in to change notification settings - Fork 2
/
render.yaml
54 lines (51 loc) · 1.2 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
previewsEnabled: false
services:
# Front webapp
# Disabled because we're using Netlify (faster)
# - type: web
# name: rolebase-front
# env: static
# branch: main
# domains:
# - rolebase.io
# buildCommand: npm i && npm run build
# staticPublishPath: ./dist
# routes:
# - type: rewrite
# source: /*
# destination: /index.html
# headers:
# - path: /assets/*
# name: Access-Control-Allow-Origin
# value: '*'
# autoDeploy: true
# Storybook
# - type: web
# name: rolebase-storybook
# env: static
# branch: main
# domains:
# - storybook.rolebase.io
# buildCommand: npm i && npm run build-storybook
# staticPublishPath: ./storybook-static
# autoDeploy: true
# Collab (y-websocket)
- type: web
region: frankfurt
plan: starter
name: rolebase-collab
env: node
branch: main
domains:
- collab.rolebase.io
buildCommand: npm i yjs y-websocket
startCommand: npx y-websocket
envVars:
- key: NODE_VERSION
value: 18
- key: HOST
value: 0.0.0.0
- key: PORT
value: 1234
autoDeploy: false
pullRequestPreviewsEnabled: false