ArangoDB with Docker and Docker Compose
On folder that contains docker-compose.yml
type one of this.
// non detach mode
docker-compose up
or
// detach mode
docker-compose up -d
It will spin the ArangoDB latest version (currently 3.x.x version), expose port to host at 8529.
To shutdown database without remove the container.
docker-compose stop
To shutdown database and remove the container.
docker-compose down
Is data or user that already created will gone? No, since in the Docker Compose file you can see that we utilize data container named arangodb_data_container
and arangodb_apps_data_container
to store the ArangoDB data and apps.
- Username: root
- Password: rootpassword
Go to http://localhost:8529
Make sure you have arangosh
client tool command installed.
arangosh --server.endpoint http+tcp://127.0.0.1:8529 --server.password rootpassword
Enjoy your local ArangoDB database server for any purpose you want, for me this setup is fine for testing purpose.