mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* 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
20 lines
594 B
YAML
20 lines
594 B
YAML
default: &default
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 3 } %>
|
|
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
|
|
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
|
|
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>
|
|
password: <%= ENV.fetch("POSTGRES_PASSWORD") { nil } %>
|
|
|
|
development:
|
|
<<: *default
|
|
database: <%= ENV.fetch("POSTGRES_DB") { "maybe_development" } %>
|
|
|
|
test:
|
|
<<: *default
|
|
database: <%= ENV.fetch("POSTGRES_DB") { "maybe_test" } %>
|
|
|
|
production:
|
|
<<: *default
|
|
database: <%= ENV.fetch("POSTGRES_DB") { "maybe_production" } %>
|