backend/config/database.yml
# Ref: https://github.com/CircleCI-Public/circleci-demo-ruby-rails/blob/master/config/database.yml
default: &default
adapter: postgresql
encoding: unicode
host: <%= ENV.fetch("POSTGRES_HOST", 'localhost') %>
username: postgres
password: postgres
pool: 5
development:
<<: *default
database: vsign_development
test:
<<: *default
database: vsign_test