Skip to content

Commit

Permalink
database config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
varkum authored and ChaelCodes committed Jan 14, 2024
1 parent 36498e5 commit d647534
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ default: &default
# https://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: <%= ENV['DATABASE_HOST'] || 'localhost' %>
username: <%= ENV['POSTGRES_USER'] || 'varun' %>
username: <%= ENV['POSTGRES_USER'] || 'root' %>
password: <%= ENV['POSTGRES_PASSWORD'] || nil %>

development:
Expand All @@ -32,10 +32,10 @@ development:
# To create additional roles in postgres see `$ createuser --help`.
# When left blank, postgres will use the default role. This is
# the same name as the operating system user running Rails.
username: varun
#username: ConfBuddies

# The password associated with the postgres role (username).
password: password
#password:

# Connect on a TCP socket. Omitted by default since the client uses a
# domain socket that doesn't need configuration. Windows does not have
Expand Down

0 comments on commit d647534

Please sign in to comment.