Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. [diaspora@diaspora diaspora]$ cat config/database.yml
  2. postgresql: &postgresql
  3. adapter: postgresql
  4. host: localhost
  5. port: 5432
  6. username: diaspora
  7. password: xxxxxx
  8. encoding: unicode
  9.  
  10. mysql: &mysql
  11. adapter: mysql2
  12. host: "localhost"
  13. port: 3306
  14. username: "root"
  15. password: ""
  16. # socket: /tmp/mysql.sock
  17. encoding: utf8mb4
  18. collation: utf8mb4_bin
  19.  
  20.  
  21. # Comment the the mysql line and uncomment the postgres line
  22. # if you want to use postgres
  23. common: &common
  24. # Choose one of the following
  25. <<: *postgresql
  26. #<<: *mysql
  27.  
  28. # Should match environment.sidekiq.concurrency
  29. #pool: 25
  30.  
  31. ##################################################
  32. #### CONFIGURE ABOVE #############################
  33. ##################################################
  34.  
  35. # Normally you don't need to touch anything here
  36.  
  37. combined: &combined
  38. <<: *common
  39. development:
  40. <<: *combined
  41. database: diaspora_development
  42. production:
  43. <<: *combined
  44. database: diaspora_production
  45. test:
  46. <<: *combined
  47. database: "diaspora_test"
  48. integration1:
  49. <<: *combined
  50. database: diaspora_integration1
  51. integration2:
  52. <<: *combined
  53. database: diaspora_integration2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement