development: &default
  adapter: postgresql
  encoding: unicode
  pool: 5
  database: <%= ENV['RDS_DB_NAME'] || 'postgres' %>
  username: <%= ENV['RDS_USERNAME'] || 'postgres' %>
  password: <%= ENV['RDS_PASSWORD'] %>
  host: <%= ENV['RDS_HOSTNAME'] || 'db' %>

# 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: velocipede_test

production:
  <<: *default
  database: velocipede_production