Skip to content

Commit

Permalink
try render
Browse files Browse the repository at this point in the history
  • Loading branch information
Craiting committed Dec 1, 2022
1 parent 47d22bd commit 49bdaa4
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
services:
- type: web
plan: free
name: api
env: ruby
repo: https://github.com/mxenabled/mx-quickconnect
branch: posthog
rootDir: ruby
scaling:
minInstances: 1
maxInstances: 3
targetMemoryPercent: 60 # optional if targetCPUPercent is set
targetCPUPercent: 60 # optional if targetMemory is set
buildCommand: bundle install
startCommand: bundle exec ruby app.rb
domains:
- test0.render.com
envVars:
- key: STRIPE_API_KEY
value: dummy
- type: web
name: frontend
rootDir: frontend
repo: https://github.com/mxenabled/mx-quickconnect
branch: posthog
env: static
buildCommand: npm build
staticPublishPath: ./build
pullRequestPreviewsEnabled: true # optional
buildFilter:
paths:
- src/**/*.js
ignoredPaths:
- src/**/*.test.js
headers:
- path: /*
name: X-Frame-Options
value: sameorigin
routes:
- type: redirect
source: /old
destination: /new
- type: rewrite
source: /a/*
destination: /a

0 comments on commit 49bdaa4

Please sign in to comment.