<%= fetch(:rails_env) %>: adapter: <%= fetch(:database_adapter) || 'postgresql' %> encoding: <%= fetch(:database_encoding) || 'utf8' %> database: <%= "#{fetch(:application)}_#{fetch(:rails_env)}" %> pool: <%%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> username: <%%= ENV['DATABASE_USER'] %> password: <%%= ENV['DATABASE_PASSWORD'] %> host: <%= fetch(:database_host) || 'localhost' %>