mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 15:50:54 +01:00
Updated for using postgres on recordings
This commit is contained in:
23
scalelite/config/database.yml
Normal file
23
scalelite/config/database.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
default: &default
|
||||
pool: <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
|
||||
timeout: 5000
|
||||
adapter: postgresql
|
||||
host: <%= ENV['DB_HOST'] %>
|
||||
username: <%= ENV['DB_USERNAME'] %>
|
||||
password: <%= ENV['DB_PASSWORD'] %>
|
||||
encoding: unicode
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
database: scalelite_development
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
<<: *default
|
||||
database: scalelite_test
|
||||
|
||||
production:
|
||||
<<: *default
|
||||
database: <%= ENV['DB_NAME'] || 'scalelite' %>
|
||||
Reference in New Issue
Block a user