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.

24 lines
646 B

8 years ago
8 years ago
8 years ago
8 years ago
  1. default: &default
  2. adapter: postgresql
  3. pool: 17
  4. timeout: 5000
  5. encoding: unicode
  6. development:
  7. <<: *default
  8. database: mastodon_development
  9. # Warning: The database defined as "test" will be erased and
  10. # re-generated from your development database when you run "rake".
  11. # Do not set this db to the same as development or production.
  12. test:
  13. <<: *default
  14. database: mastodon_test
  15. production:
  16. <<: *default
  17. database: <%= ENV['DB_NAME'] || 'mastodon_production' %>
  18. username: <%= ENV['DB_USER'] || 'mastodon' %>
  19. password: <%= ENV['DB_PASS'] || '' %>
  20. host: <%= ENV['DB_HOST'] || 'localhost' %>
  21. port: <%= ENV['DB_PORT'] || 5432 %>