From 1a69b47f75a043311f22194d3b688242557790d9 Mon Sep 17 00:00:00 2001 From: Craig Tingey Date: Thu, 1 Dec 2022 14:04:07 -0700 Subject: [PATCH] try render --- render.yaml | 38 ++++++++++++++++++++++++++++++++++++++ ruby/Gemfile.lock | 1 + 2 files changed, 39 insertions(+) create mode 100644 render.yaml diff --git a/render.yaml b/render.yaml new file mode 100644 index 0000000..7fccb1e --- /dev/null +++ b/render.yaml @@ -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 diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock index 722e9cc..6651bdb 100644 --- a/ruby/Gemfile.lock +++ b/ruby/Gemfile.lock @@ -59,6 +59,7 @@ GEM PLATFORMS x86_64-darwin-19 x86_64-darwin-20 + x86_64-linux DEPENDENCIES colorize (~> 0.8.1)