HUB
Sign inSign up
neo4j logo

elestio4test/neo4j

By elestio4test

•Updated almost 3 years ago

Neo4j, verified and packaged by Elestio

Image
0

481

elestio4test/neo4j repository overview

elest.io ⁠

Discord Elestio examples Blog

⁠Neo4j, verified and packaged by Elestio

Neo4j⁠ is an open-source, NoSQL, native graph database that provides an ACID-compliant transactional backend for your applications. ` neo4j

Deploy a fully managed Neo4j⁠ on elest.io⁠ if you want a graph database that stores nodes and relationships instead of tables, or documents. Data is stored just like you might sketch ideas on a whiteboard. Your data is stored without restricting it to a pre-defined model, allowing a very flexible way of thinking about and using it.

deploy

⁠Why use Elestio images?

  • Elestio stays in sync with updates from the original source and quickly releases new versions of this image through our automated processes.
  • Elestio images provide timely access to the most recent bug fixes and features.
  • Our team performs quality control checks to ensure the products we release meet our high standards.

⁠Usage

⁠Git clone

You can deploy it easily with the following command:

git clone https://github.com/elestio-examples/neo4j.git

Copy the .env file from tests folder to the project directory

cp ./tests/.env ./.env

Edit the .env file with your own values.

Run the project with the following command

docker-compose up -d

You can access the Web UI at: http://your-domain:7474

⁠Docker-compose

Here are some example snippets to help you get started creating a container.

version: "3.3"
services:
neo4j:
    image: neo4j:${SOFTWARE_VERSION_TAG}
    container_name: neo4j
    restart: always
    environment:
    - NEO4J_AUTH=neo4j/${ADMIN_PASSWORD}
    ports:
    - "172.17.0.1:7474:7474"
    - "172.17.0.1:7687:7687"
    volumes:
    - ./neo4j/data:/data
    - ./neo4j/logs:/logs
    - ./neo4j/conf:/conf
    - ./neo4j/plugins:/plugins
⁠Environment variables
VariableValue (example)
ADMIN_EMAIL[email protected]⁠
ADMIN_PASSWORDyour-password
SOFTWARE_VERSION_TAGlatest

⁠Maintenance

⁠Logging

The Elestio Neo4j Docker image sends the container logs to stdout. To view the logs, you can use the following command:

docker-compose logs -f

To stop the stack you can use the following command:

docker-compose down

⁠Backup and Restore with Docker Compose

To make backup and restore operations easier, we are using folder volume mounts. You can simply stop your stack with docker-compose down, then backup all the files and subfolders in the folder near the docker-compose.yml file.

Creating a ZIP Archive For example, if you want to create a ZIP archive, navigate to the folder where you have your docker-compose.yml file and use this command:

zip -r myarchive.zip .

Restoring from ZIP Archive To restore from a ZIP archive, unzip the archive into the original folder using the following command:

unzip myarchive.zip -d /path/to/original/folder

Starting Your Stack Once your backup is complete, you can start your stack again with the following command:

docker-compose up -d

That's it! With these simple steps, you can easily backup and restore your data volumes using Docker Compose.

Tag summary

Content type

Image

Digest

sha256:93c22480e…

Size

387.7 MB

Last updated

almost 3 years ago

docker pull elestio4test/neo4j