-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
41 lines (38 loc) · 937 Bytes
/
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
#####
# Documentation
# Redwood: https://render.com/docs/deploy-redwood
# YAML (all config values): https://render.com/docs/yaml-spec
#####
services:
- name: yurtle-web
type: web
env: static
buildCommand: yarn install && yarn rw deploy render web
staticPublishPath: ./web/dist
envVars:
- key: NODE_VERSION
value: 18
- key: SKIP_INSTALL_DEPS
value: true
routes:
- type: rewrite
source: /.redwood/functions/*
#####
# NOTE: replace destination api url after first deploy to Render
# example:
# destination: https://myredwoodproject-api.onrender.com/*
#####
destination: https://rendy-api.onrender.com/*
- type: rewrite
source: /*
destination: /200.html
- name: yurtle-api
type: web
plan: standard
env: node
region: oregon
buildCommand: yarn && yarn rw build api
startCommand: yarn rw deploy render api --no-prisma --no-data-migrate
envVars:
- key: NODE_VERSION
value: 18