Deploying to Render.com
Use a `background worker` for Sidekiq instead.
Sample blueprint (I set up the `Redis` data store manually):
Sample blueprint (I set up the `Redis` data store manually):
databases:
- name: app-postgres
databaseName: app_production
user: app_production
region: oregon
services:
- type: web
name: app-web
env: ruby
region: oregon
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
healthCheckPath: /healthz
envVars:
- key: DATABASE_URL
fromDatabase:
name: app-postgres
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
- type: worker
name: app-sidekiq
env: ruby
region: oregon
buildCommand: "bundle install"
startCommand: "bundle exec sidekiq -t 25"
envVars:
- key: DATABASE_URL
fromDatabase:
name: app-postgres
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
Have you any more information from the logs than status 1?
I have been playing with Render and have deployed a skeleton Jumpstart project to it. Setting environment variables I was unfamiliar with and took me a long time to realise what was going on but other than that it was fairly straightforward.
I have been playing with Render and have deployed a skeleton Jumpstart project to it. Setting environment variables I was unfamiliar with and took me a long time to realise what was going on but other than that it was fairly straightforward.
Notifications
You’re not receiving notifications from this thread.