Skip to content
Snippets Groups Projects
database.yml 389 B
Newer Older
Arnaud Levy's avatar
Arnaud Levy committed
default: &default
  adapter: postgresql
  encoding: unicode
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>

development:
  <<: *default
Sébastien Gaya's avatar
Sébastien Gaya committed
  database: <%= ENV.fetch("OSUNY_DEVELOPMENT_DBNAME", "osuny_development") %>
Arnaud Levy's avatar
Arnaud Levy committed

test:
  <<: *default
  database: osuny_test

production:
  <<: *default
  database: osuny_production
  username: osuny
  password: <%= ENV['OSUNY_DATABASE_PASSWORD'] %>