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 1a69b47
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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: yarn build
staticPublishPath: ./build
pullRequestPreviewsEnabled: true # optional
buildFilter:
paths:
- src/**/*.js
ignoredPaths:
- src/**/*.test.js
headers:
- path: /*
name: X-Frame-Options
value: sameorigin
1 change: 1 addition & 0 deletions ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ GEM
PLATFORMS
x86_64-darwin-19
x86_64-darwin-20
x86_64-linux

DEPENDENCIES
colorize (~> 0.8.1)
Expand Down

0 comments on commit 1a69b47

Please sign in to comment.