about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/neography.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/neography.rb b/config/initializers/neography.rb
new file mode 100644
index 000000000..25d54658b
--- /dev/null
+++ b/config/initializers/neography.rb
@@ -0,0 +1,5 @@
+Neography.configure do |config|
+  config.protocol             = "http"
+  config.server               = ENV['NEO4J_HOST'] || 'localhost'
+  config.port                 = ENV['NEO4J_PORT'] || 7474
+end