Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. # PostgreSQL. Versions 8.2 and up are supported.
  2. #
  3. # Install the pg driver:
  4. # gem install pg
  5. # On OS X with Homebrew:
  6. # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
  7. # On OS X with MacPorts:
  8. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  9. # On Windows:
  10. # gem install pg
  11. # Choose the win32 build.
  12. # Install PostgreSQL and put its /bin directory on your path.
  13. #
  14. # Configure Using Gemfile
  15. # gem 'pg'
  16. #
  17. default: &default
  18. #adapter: oracle_enhanced
  19. adapter: postgresql
  20. encoding: unicode
  21. pool: 25
  22. #host: 192.168.0.76
  23. #username: starlight_dashboard
  24. #password: 123456789
  25. username: postgres
  26. password: 12345678
  27. host: localhost
  28. #port: 5432
  29.  
  30. development:
  31. #<<: *default
  32. #database: dashboard-starlight_development
  33.  
  34. adapter: oracle_enhanced
  35. database: //192.168.0.76:1521/ol6.dashboard_starlight
  36. username: starlight_dashboard
  37. password: 123456789
  38. pool: 25
  39.  
  40. # The specified database role being used to connect to postgres.
  41. # To create additional roles in postgres see `$ createuser --help`.
  42. # When left blank, postgres will use the default role. This is
  43. # the same name as the operating system user that initialized the database.
  44. #username: dashboard-starlight
  45.  
  46. # The password associated with the postgres role (username).
  47. #password:
  48.  
  49. # Connect on a TCP socket. Omitted by default since the client uses a
  50. # domain socket that doesn't need configuration. Windows does not have
  51. # domain sockets, so uncomment these lines.
  52. #host: localhost
  53.  
  54. # The TCP port the server listens on. Defaults to 5432.
  55. # If your server runs on a different port number, change accordingly.
  56. #port: 5432
  57.  
  58. # Schema search path. The server defaults to $user,public
  59. #schema_search_path: myapp,sharedapp,public
  60.  
  61. # Minimum log levels, in increasing order:
  62. # debug5, debug4, debug3, debug2, debug1,
  63. # log, notice, warning, error, fatal, and panic
  64. # Defaults to warning.
  65. #min_messages: notice
  66.  
  67. # Warning: The database defined as "test" will be erased and
  68. # re-generated from your development database when you run "rake".
  69. # Do not set this db to the same as development or production.
  70. test:
  71. <<: *default
  72. database: dashboard-starlight_test
  73.  
  74. # As with config/secrets.yml, you never want to store sensitive information,
  75. # like your database password, in your source code. If your source code is
  76. # ever seen by anyone, they now have access to your database.
  77. #
  78. # Instead, provide the password as a unix environment variable when you boot
  79. # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
  80. # for a full rundown on how to provide these environment variables in a
  81. # production deployment.
  82. #
  83. # On Heroku and other platform providers, you may have a full connection URL
  84. # available as an environment variable. For example:
  85. #
  86. # DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
  87. #
  88. # You can use this database configuration with:
  89. #
  90. # production:
  91. # url: <%= ENV['DATABASE_URL'] %>
  92. #
  93. production:
  94. #<<: *default
  95. #database: dashboard-starlight_production
  96. #username: dashboard-starlight
  97. #password: <%= ENV['DASHBOARD-STARLIGHT_DATABASE_PASSWORD'] %>
  98. #adapter: oracle_enhanced
  99. #database: //192.168.0.76:1521/ol6.dashboard_starlight
  100. #username: starlight_dashboard
  101. #password: 123456789
  102. #pool: 25
  103.  
  104. adapter: postgresql
  105. encoding: unicode
  106. host: localhost
  107. database: starlight_production_development
  108. pool: 10
  109. port: 5432
  110. username: pratesis
  111. password: 'antapani'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement