logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

database.yml (1098B)


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