Quick start
This guide starts the repository Docker Compose stack, connects it to a separate Docling Serve container, and gets you to a working Arkivra dashboard.
Prerequisites
Section titled “Prerequisites”- Docker Engine with Docker Compose
- Git
- OpenSSL
- enough memory and disk space for PostgreSQL, Arkivra, and the Docling models used for document processing
Arkivra is under active development and does not yet have a stable public release line. The current Compose file builds Arkivra from the checked-out source instead of pulling a published Arkivra image.
Start the services
Section titled “Start the services”-
Clone the repository and enter it:
Terminal window git clone https://github.com/Jasnan/Arkivra.gitcd Arkivra -
Create the local environment file:
Terminal window cp .env.example .env -
Generate a file-encryption key and add it to
.env:Terminal window openssl rand -hex 32Set the generated value as:
ARKIVRA_ENCRYPTION_KEYS=1:<generated-64-hex-character-key> -
Set a stable authentication secret:
ARKIVRA_AUTH_SECRET=<strong-random-secret> -
Start Docling Serve as a separate container:
Terminal window docker run --name arkivra-docling \-d \-p 5001:5001 \-e DOCLING_SERVE_ENABLE_UI=1 \quay.io/docling-project/docling-serve-cpu -
Point the Arkivra container at Docling:
ARKIVRA_DOCLING_URL=http://host.docker.internal:5001 -
Build and start Arkivra:
Terminal window docker compose up -ddocker compose pscurl http://localhost:3210/api/health -
Open
http://localhost:3210, register the first account, and sign in. When no active administrator exists, Arkivra promotes the oldest registered user after that user reaches an authenticated API route.
The expected result is a signed-in dashboard with access to the Administration menu. Database migrations run automatically when the web-capable production container starts.
Upload a test document
Section titled “Upload a test document”- Open Vaults and create a vault.
- Open the vault and select Upload → Upload files.
- Choose a supported, non-empty document.
- Open the transfers drawer to watch the upload, then wait for processing to complete.
- Open Search and search for a phrase from the document.
If the upload completes but processing fails, verify that Docling is reachable from inside the Arkivra container. See Document processing and Maintenance and troubleshooting.
Before storing important documents
Section titled “Before storing important documents”- set
ARKIVRA_PUBLIC_URLto the browser-facing HTTPS origin; - put Arkivra behind TLS and keep PostgreSQL off public networks;
- configure SMTP if users need delivered verification, invitation, or reset emails;
- set
ARKIVRA_RESTORE_BOOTSTRAP_TOKENfor fresh-instance recovery; - create a backup and test the restore procedure;
- store encryption keys, auth secrets, provider credentials, and deployment configuration separately from Arkivra backups.
Continue with First steps for the main document workflow or Using Docker Compose for the deployment layout.