Skip to content

Instantly share code, notes, and snippets.

@olkeene
Last active February 4, 2017 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olkeene/fb056347d88e3d39ac92a964bc0e06bb to your computer and use it in GitHub Desktop.
Save olkeene/fb056347d88e3d39ac92a964bc0e06bb to your computer and use it in GitHub Desktop.
development: &default
adapter: mysql2
username: <%= ENV.fetch('MYSQL_USER', 'foo') %>
password: <%= ENV.fetch('MYSQL_PASSWORD', 'bar') %>
host: <%= ENV.fetch('MYSQL_HOST', '127.0.0.1') %>
database: app_development
encoding: utf8
.....
development:
sessions:
default:
database: app_development
hosts:
- <%= ENV.fetch('MONGO_HOST', 'localhost') %>:ENV.fetch('MONGO_PORT', 27017) %>
...
development: &default
address: <%= ENV.fetch('SPHINX_HOST', 'localhost') %>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment