Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- production:
- adapter: postgresql
- <% if CFRuntime::CloudApp.running_in_cloud?
- svcname = CFRuntime::CloudApp.servicenamesoftype('postgresql').shift
- option = CFRuntime::CloudApp.serviceprops(svcname)
- %>
- host: <%= option[:host] %>
- port: <%= option[:port] %>
- database: <%= option[:database] %>
- username: <%= option[:username] %>
- password: <%= option[:password] %>
- <% end %>
Add Comment
Please, Sign In to add comment