Skip to content

Commit

Permalink
Read DB credentials from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylb-github authored and Firefishy committed Apr 29, 2019
1 parent 9541ab1 commit e1038ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default: &default
adapter: postgresql
encoding: utf8
username:
password:
username: <%= ENV['DATABASE_USERNAME'] %>
password: <%= ENV['DATABASE_PASSWORD'] %>
pool: 5
timeout: 5000

Expand Down

0 comments on commit e1038ea

Please sign in to comment.