You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
442 B

10 months ago
5 months ago
5 months ago
10 months ago
10 months ago
4 months ago
10 months ago
4 months ago
  1. ---
  2. default: &default
  3. host: <%= ENV.fetch("DATABASE_HOST") { 'localhost' } %>
  4. database: &db_name <%= ENV.fetch("DATABASE_NAME") { 'easy-going-rails' } %>
  5. user: *db_name
  6. password: *db_name
  7. adapter: postgresql
  8. encoding: unicode
  9. pool: 5
  10. development:
  11. <<: *default
  12. production:
  13. <<: *default
  14. database: &db_prod easy-going-rails_prod
  15. user: *db_prod
  16. password: *db_prod
  17. test:
  18. <<: *default
  19. database: easy-going-rails_test