Overview
This template provides a production‑ready ArangoDB instance as a Monk runnable. You can:- Run it directly to get a managed ArangoDB container with sensible defaults
- Inherit it in your own runnable to seamlessly add a multi-model database to your stack
What this template manages
- ArangoDB container (
arangodbimage, configurable tag) - Network service on port 8529
- Persistent volumes for data storage
- Root user authentication
Quick start (run directly)
- Load templates
- Run ArangoDB with defaults
- Customize credentials (recommended via inheritance)
variables. Secrets added with monk secrets add will not affect this runnable unless you inherit it and reference those secrets.
- Preferred: inherit and replace variables with
secret("...")as shown below. - Alternative: fork/clone and edit the
variablesinarangodb.yml, thenmonk load MANIFESTand run.
localhost:8529 (or the runnable hostname inside Monk networks) using the configured credentials.
Configuration
Key variables you can customize in this template:${monk-volume-path}/arangodb/data on the host.
Use by inheritance (recommended for apps)
Inherit the ArangoDB runnable in your application and declare a connection. Example:Ports and connectivity
- Service:
dbon TCP port8529 - From other runnables in the same process group, use
connection-hostname("\<connection-name>")to resolve the DB host.
Persistence and configuration
- Data path:
${monk-volume-path}/arangodb/data:/var/lib/arangodb3 - ArangoDB stores documents, graphs, and key-value data in the same database
Related templates
- For ArangoDB cluster, configure coordinators, DB servers, and agents
- Use with graph analytics and machine learning workflows
- Combine with
grafana/for performance visualization
Troubleshooting
- If you changed
root_passwordbut the container has existing data, authentication may fail. Either reset the data volume or update the password inside the DB to match. - Ensure the host volumes are writable by the container user.
- Check logs: