2023-08-08 16:48:09 +00:00
|
|
|
default: &default
|
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
|
|
|
# For details on connection pooling, see Rails configuration guide
|
|
|
|
# https://guides.rubyonrails.org/configuring.html#database-pooling
|
2023-12-29 11:27:45 +00:00
|
|
|
host: localhost
|
|
|
|
username: postgres
|
|
|
|
password: postgres
|
2023-08-08 16:48:09 +00:00
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
2023-09-17 11:24:54 +00:00
|
|
|
database: soc_development
|
2023-12-29 11:27:45 +00:00
|
|
|
username: postgres
|
2023-08-08 16:48:09 +00:00
|
|
|
password: postgres
|
|
|
|
|
|
|
|
test:
|
|
|
|
<<: *default
|
2023-09-17 11:24:54 +00:00
|
|
|
database: soc_test
|
2023-08-08 16:48:09 +00:00
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *default
|
2023-09-17 11:24:54 +00:00
|
|
|
database: soc_production
|
2023-09-29 09:20:41 +00:00
|
|
|
password: <%= ENV["POSTGRES_PASSWORD"] %>
|
|
|
|
host: <%= ENV.fetch("DB_HOST") { 'localhost' } %>
|
2023-12-29 11:27:45 +00:00
|
|
|
username: soc
|