This docker-compose definition provides a simple way to start the whole system - a database, graph-database, the backend and the frontend.
How to use it:
- Clone this repository.
- In the case of production: Create a
docker-compose.override.yml
file, overwrite at least the database password and the JWT secret and use theproduction
tag of the images. - Run
docker-compose up
.
The website is now available at http://localhost:12100 and the backend server is hosted at http://localhost:12100/api/.
The web interface can be accessed at http://localhost:12220. Use url bolt://localhost:12221
, username neo4j
and password elsa
for connection to the database.
There are two ways to initialize the graph database.
./neo4j_import
is mounted to the neo4j container. Copy all csv files into this folder. Start the container once and stop it again. Then the import can be started for example with:
docker run --rm --volumes-from icebreaker_neo4j neo4j neo4j-admin import --nodes /import/nodes.csv /import/category_nodes.csv --relationships /import/edges.csv /import/category_edges.csv
./neo4j_data
is mounted to the neo4j container as persistent storage. An existing database can be copied to this folder.