Skip to content

Instantly share code, notes, and snippets.

@ericlake
Last active June 28, 2017 15:49
Show Gist options
  • Save ericlake/48c59189a749d216938ba2cadb196140 to your computer and use it in GitHub Desktop.
Save ericlake/48c59189a749d216938ba2cadb196140 to your computer and use it in GitHub Desktop.
database yaml
sh-4.2# pwd
/persistent-region/region-data/var/www/miq/vmdb/config
sh-4.2# cat database.yml
---
base:
adapter: postgresql
encoding: utf8
username: root
pool: 5
wait_timeout: 5
min_messages: warning
development:
adapter: postgresql
encoding: utf8
username: root
pool: 5
wait_timeout: 5
min_messages: notice
database: vmdb_development
production:
adapter: postgresql
encoding: utf8
username: root
pool: 5
wait_timeout: 5
min_messages: warning
database: vmdb_production
test:
adapter: postgresql
encoding: utf8
username: root
pool: 3
wait_timeout: 5
min_messages: warning
database: vmdb_test<%= ENV['TEST_ENV_NUMBER'] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment