Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ previews:
expireAfterDays: 3
services:
- type: web
plan: standard
plan: free
previews:
plan: starter
name: express-backend
env: node
runtime: node
buildCommand: cd backend && yarn
startCommand: cd backend && yarn start
envVars:
Expand All @@ -20,10 +20,12 @@ services:
property: connectionString
- type: web
name: render-todo
env: static
runtime: static
buildCommand: cd frontend && yarn install && yarn build
staticPublishPath: ./frontend/build
envVars:
- key: NODE_VERSION
value: 16
- key: REACT_APP_API_HOST
fromService:
type: web
Expand All @@ -33,5 +35,5 @@ databases:
- name: postgres_db
databaseName: test_db
user: test_user
plan: standard
previewPlan: starter
plan: free
previewPlan: basic-256mb
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wouldn't let me use the free plan for previews, so I made it basic-256mb.

This was the error:

databases[0]
free plan is not valid as a previewPlan
services[0].previews.plan
free plan is not valid as a previewPlan