与服务器分开托管 Neo4J 浏览器 [英] Hosting Neo4J Browser Separately From Server

查看:27
本文介绍了与服务器分开托管 Neo4J 浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想运行三个不同的 Neo4J 实例(每个实例都有不同的数据库).然后我需要三个不同的 Neo4J 浏览器可视化工具(想想 project1.domainname.com/project2.domainname.com/project3.domainname.com),每个都映射到一个特定的数据库实例

I want to have three different Neo4J instances running (each with a different database). Then I need three different Neo4J browser visualizers (think project1.domainname.com / project2.domainname.com / project3.domainname.com) with each one mapping to a specific database instance

我已经设法让三个不同的数据库实例在单个 Azure VM 上运行 - 到目前为止一切顺利.

I've managed to get the three different database instances running on a single Azure VM - so far so good.

但我不确定如何创建和映射这些浏览器.我想将它们分别作为 Azure 网站运行,因为这将有助于解决我预见到的其他一些问题.

But I'm not sure how to create and map those browsers. I'd like to run them each as Azure websites as that would help with some other problems I've forseen.

1) 这个浏览器的 HTML 等文件在哪里,以便我可以将其加载到 Azure 网站?

1) Where is this browser HTML etc. so I can load it to the Azure Website?

2) 我应该在该代码的哪个位置指定浏览器应该与之通信的 IP 地址和端口?

2) Where in that code would I specify the IP Address and Port that browser should be talking to?

我还听到一些人在谈论 Azure for Neo4J 项目,但那是近五年前的事了,Neo4J 的人说要把数据库实例放在 VM 上.他们是对的吗>

I've also heard some people talking about an Azure for Neo4J project but that is nearly five years old and the Neo4J guys said to put the database instances on VM's. Were they right>

推荐答案

Neo4j 浏览器是一个 Angular 应用程序,您可以在 https://github.com/neo4j/neo4j/tree/2.3/community/browser

The Neo4j Browser is an angular app that you can find in the neo4j source code at https://github.com/neo4j/neo4j/tree/2.3/community/browser

您可以设置浏览器应用可以与之通信的主机:

You can set the host that the browser app can talk to:

:config host:"http://host:port"

这是一个未记录的功能,可能会被删除.

This is an undocumented feature and might be removed.

对于 3.0,其目的是无论如何都将浏览器和 Neo4j 解耦.

For 3.0 the intent is to decouple browser and Neo4j anyway.

这篇关于与服务器分开托管 Neo4J 浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆