# Self-host ArangoDB

> A multi model database for documents, graphs and key value data with a web interface, a generated root password and a data volume. Source available under the BSL for the community line.

- Page: https://levelrail.com/templates/arangodb/
- JSON: https://levelrail.com/templates/arangodb.json
- Category: Database Tools
- Licence: LicenseRef-BUSL-1.1 (Source available)
- Source: https://github.com/arangodb/arangodb
- Upstream docs: https://docs.arangodb.com/3.12/

## Requirements
- Memory: about 1 GiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: 3.12.13

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| arangodb | arangodb | 3.12.13 | 8529 | arango_data -> /var/lib/arangodb3 |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| arangodb | ARANGO_ROOT_PASSWORD | generated |

## Deploy

### CLI

```bash
levelrail-cli templates deploy arangodb --name my-arangodb
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/arangodb/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## First run
1. Open the web interface and sign in as root with the generated password from the app secrets.

## Questions

### Can I deploy ArangoDB on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id arangodb for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image arangodb:3.12.13 is what you deploy there.

Self-host ArangoDB, ArangoDB docker compose file, deploy ArangoDB on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
