Guest User

Untitled

a guest
Oct 22nd, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. production:
  2. adapter: postgresql
  3. <% if CFRuntime::CloudApp.running_in_cloud?
  4. svcname = CFRuntime::CloudApp.servicenamesoftype('postgresql').shift
  5. option = CFRuntime::CloudApp.serviceprops(svcname)
  6. %>
  7. host: <%= option[:host] %>
  8. port: <%= option[:port] %>
  9. database: <%= option[:database] %>
  10. username: <%= option[:username] %>
  11. password: <%= option[:password] %>
  12. <% end %>
Add Comment
Please, Sign In to add comment