add tests for the Ruby backend
This commit is contained in:
@@ -20,21 +20,20 @@ test:
|
||||
<<: *default
|
||||
database: storage/test.sqlite3
|
||||
|
||||
# Store production database in the storage/ directory, which by default
|
||||
# is mounted as a persistent Docker volume in config/deploy.yml.
|
||||
# PostgreSQL for production.
|
||||
#
|
||||
# Configure via DATABASE_URL environment variable:
|
||||
# postgresql://user:password@host:5432/database
|
||||
#
|
||||
# Or via individual variables:
|
||||
# DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, DB_PORT
|
||||
#
|
||||
production:
|
||||
primary:
|
||||
<<: *default
|
||||
database: storage/production.sqlite3
|
||||
cache:
|
||||
<<: *default
|
||||
database: storage/production_cache.sqlite3
|
||||
migrations_paths: db/cache_migrate
|
||||
queue:
|
||||
<<: *default
|
||||
database: storage/production_queue.sqlite3
|
||||
migrations_paths: db/queue_migrate
|
||||
cable:
|
||||
<<: *default
|
||||
database: storage/production_cable.sqlite3
|
||||
migrations_paths: db/cable_migrate
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
database: <%= ENV["DB_NAME"] %>
|
||||
username: <%= ENV["DB_USER"] %>
|
||||
password: <%= ENV["DB_PASSWORD"] %>
|
||||
host: <%= ENV["DB_HOST"] %>
|
||||
port: <%= ENV["DB_PORT"] || 5432 %>
|
||||
|
||||
Reference in New Issue
Block a user