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.
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.
| Variable | Use | Value |
|---|---|---|
| NEO4J_PORT | Port used by Cypher-Shell | 7687 |
| NEO4J_PROTOCOL | The protocol used by Neo4J | bolt |
| NEO4J_HOST | The name of the service | neo |
| NEO4J_USER | Name of the Neo4J user | neo4j |
| NEO4J_PW | Password for the Neo4J user | choose one |
| DB_PW | D-BAS DB Password | See D-BAS |
| DB_HOST | The name of the service D-BAS DB service | See D-BAS |
| DB_NAME | Name of D-BAS DB | See D-BAS |
| DB_PORT | Port of D-BAS DB | See D-BAS |
| DB_USER | User of D-BAS DB | See D-BAS |
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:
| Configuration | Use | Value |
|---|---|---|
| browser.post_connect_cmd | Command to start a specific browser-guide while entering the browser | play https://s3.cs.uni-duesseldorf.de/neo4j/hello_dbas.html |
| browser.remote_content_hostname_whitelist | Allow :play to fetch data from every kind of URI | * |
| dbms.security.procedures.unrestricted | Enable external procedures | algo.*, apoc.* |
Run the following command:
$ docker-compose up
To build, run the following command:
$ docker-compose up --build
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.
NeoDB can be accessed from any client. The common client for a Python application is the Neo4j Python Driver.
Content type
Image
Digest
Size
180.3 MB
Last updated
about 7 years ago
docker pull hhucn/neodb