mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
Use Redis for ActiveJob and ActionCable (#2004)
* Use Redis for ActiveJob and ActionCable * Fix alwaysApply setting * Update queue names and weights * Tweak weights * Update job queues * Update docker setup guide * Remove deprecated upgrade columns from users table * Refactor Redis configuration for Sidekiq and caching in production environment * Add Sidekiq Sentry monitoring * queue naming fix * Clean up schema
This commit is contained in:
parent
a7db914005
commit
19cc63c8f4
75 changed files with 328 additions and 1684 deletions
|
@ -10,16 +10,3 @@ echo "Precompiling assets..."
|
|||
./bin/rails assets:clean
|
||||
|
||||
echo "Build complete"
|
||||
|
||||
# Self Hosters:
|
||||
#
|
||||
# By default, one-click deploys are free-tier instances (to avoid unexpected charges)
|
||||
# Render does NOT allow free-tier instances to use the `preDeployCommand` feature, so
|
||||
# database migrations must be run in the build step.
|
||||
#
|
||||
# If you're on a paid Render plan, you can remove the `RUN_DB_MIGRATIONS_IN_BUILD_STEP` (or set to `false`)
|
||||
if [ "$RUN_DB_MIGRATIONS_IN_BUILD_STEP" = "true" ]; then
|
||||
echo "Initiating database migrations for the free tier..."
|
||||
bundle exec rails db:migrate
|
||||
echo "Database migrations completed. Reminder: If you've moved to a Render paid plan, you can remove the RUN_DB_MIGRATIONS_IN_BUILD_STEP environment variable to utilize the `preDeployCommand` feature for migrations."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue