Neo4j, verified and packaged by Elestio
481
Neo4j is an open-source, NoSQL, native graph database that provides an ACID-compliant transactional backend for your applications.
`

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.
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
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
| Variable | Value (example) |
|---|---|
| ADMIN_EMAIL | [email protected] |
| ADMIN_PASSWORD | your-password |
| SOFTWARE_VERSION_TAG | latest |
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
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.
Content type
Image
Digest
sha256:93c22480e…
Size
387.7 MB
Last updated
almost 3 years ago
docker pull elestio4test/neo4j