Sign inSign up

hhucn/neodb

By hhucn

Updated about 7 years ago

Neo4J image for the D-BAS database.

Image
0

10K+

hhucn/neodb repository overview

NeoDB

Neo4J is a graph database (GDB) with its own query language Cypher. With Neo4J it is possible to display and record data quickly and efficiently in the form of a graph.

Environment variables

In order for NeoDB to work properly and interact with D-BAS, some environment variables must be set in advance. These environment variables must be specified in the .env. In total, the following variables must be included.

VariableUseValue
NEO4J_PORTPort used by Cypher-Shell7687
NEO4J_PROTOCOLThe protocol used by Neo4Jbolt
NEO4J_HOSTThe name of the serviceneo
NEO4J_USERName of the Neo4J userneo4j
NEO4J_PWPassword for the Neo4J userchoose one
DB_PW D-BAS DB PasswordSee D-BAS
DB_HOST The name of the service D-BAS DB serviceSee D-BAS
DB_NAME Name of D-BAS DBSee D-BAS
DB_PORT Port of D-BAS DBSee D-BAS
DB_USER User of D-BAS DBSee D-BAS

Configuration

The initial configuration can be found in the conf folder inside neo4j.conf.

The configuration is not bound as a volume, because old configuration values are transferred each time the system is started. This can cause some problems, see also: https://community.neo4j.com/t/cannot-edit-neo4j-conf/643/3 So the image has to be rebuilt every time the configurations are changed.

All basic configurations are stored in neo4j.conf. Additionally some additional configurations are added. These include:

ConfigurationUseValue
browser.post_connect_cmdCommand to start a specific browser-guide while entering the browserplay https://s3.cs.uni-duesseldorf.de/neo4j/hello_dbas.html
browser.remote_content_hostname_whitelistAllow :play to fetch data from every kind of URI*
dbms.security.procedures.unrestrictedEnable external proceduresalgo.*, apoc.*

Run NeoDB

Run the following command:

$ docker-compose up

To build, run the following command:

$ docker-compose up --build

Current status

Currently NeoDB contains only the discussion graphs consisting of the main components: Issue, Argument, Statement and Position. These are connected by the edges CONCLUDES, PREMISE_OF and REGARDING and indicate exactly the discussion graphs.

Usage

NeoDB can be accessed from any client. The common client for a Python application is the Neo4j Python Driver.

Maintainer

Tag summary

Content type

Image

Digest

Size

180.3 MB

Last updated

about 7 years ago

docker pull hhucn/neodb