Prerequisites
License. Datris is open source under AGPL-3.0. Running an unmodified copy inside your own organization needs nothing more; a commercial license is available for hosted, embedded, and supported deployments — see Licensing & Support.Telemetry. The platform sends no usage data, crash reports, or license checks anywhere. The one outbound request it can make is an on-demand model-catalog refresh from the Configuration tab, which falls back to a built-in list when it fails — see Security Architecture for how to verify.
Quick Start
All you need is Docker — no git checkout, no build tools. The installer pulls the pre-built images from Docker Hub, fetches the few runtime files Compose needs into a./datris directory, seeds a .env, and starts the full stack:
- AI keys. Datris can use Anthropic Claude, OpenAI, or Grok (xAI) — the installer prompts for each key in turn; enter any you have (one is enough, each prompt is one Enter to skip). If you prefer Claude through Amazon Bedrock or OpenAI through Azure OpenAI, skip the key prompts and the installer offers those routes next — Azure asks for your key, resource endpoint, and chat deployment name; Bedrock asks for AWS credentials (or Enter to use the host’s IAM role) and a region.
- Databases and stores. Pick what to run — each can be bundled (a
local container), external (point at a service you already have), or
skipped:
- Postgres — structured destination + pgvector (default: bundled)
- Semantic search embeddings — OpenAI
text-embedding-3-small(recommended: no 2.2 GB model download, no resident container) or the bundled local TEI server for data that can’t leave the machine - Vector stores — pgvector by default (included with Postgres, no extra container); optionally add qdrant, weaviate, or chroma
- Kafka — local test broker or external (default: none)
- Snowflake / Databricks — optionally store destination credentials now so pipelines can use them on day one
vault-init seeds
your keys and store credentials into Vault.
Changing your mind later is one line in ./datris/.env — for example
POSTGRES_ENABLED=0, COMPOSE_PROFILES=qdrant,kafka, or
EMBEDDING_PROVIDER=openai — followed by docker compose up -d. Disabling a
store removes its container but keeps its data volume, so re-enabling
restores the data. The .env.example comments document every knob.
The
install.sh installer is a POSIX shell script, so it runs on macOS and
Linux. On Windows, run it from a POSIX shell — WSL2 (recommended) or
Git Bash — or skip the installer and use the single-file Compose option
below, which works natively in PowerShell.curl.exe (the bundled curl alias maps to
Invoke-WebRequest and takes different flags), and set the key with $env:
since the inline KEY=value command syntax is bash-only.
Verify
Alternative: install from a git clone
If you’d rather work from a checked-out repository — for example to track the source, customizedocker-compose.yml, or contribute — clone the repo and start
from the checked-out compose file:
Upgrading
Upgrading pulls the latest images and refreshes the Compose file, and your data survives in Docker volumes. The procedure for each install method, the pre-upgrade self-check, and what to do about stale secrets live on Upgrades & Supported Versions.Reset everything (destroys all data)
If you don’t care about anything on this machine and want a completely fresh install — same data layout as a brand-new clone — wipe all volumes:docker compose down -v is destructive. The -v flag removes every Docker volume the project owns (both named volumes and the anonymous volumes the data services create automatically). You will lose:
- All your pipelines, runs, taps, and metadata (MongoDB internal
ossdatabase) and all data landed in Postgres (datrisdatabase) - All Vault secrets — API keys, database credentials, AI configuration (will be re-seeded from your
.envon next start, but only the defaults — any UI-edited overrides are gone) - All MinIO object storage — raw uploads, configs, temp files, processed outputs
- MongoDB destination data
- Queued messages and offsets in Kafka, Zookeeper, ActiveMQ
- The bundled
bge-m3embedding model in thetei-datavolume (will re-download ~2.2 GB on first start) - Cached pip wheels in the
pip-cachevolume (taps that need extras likeyfinancewill re-download on first run)
down -v if you are certain none of the above matters, e.g. on a brand-new dev machine, after exporting anything you needed, or on a CI runner. Never run down -v on a production or shared instance.
After docker compose up -d, vault-init.sh re-seeds the AI configuration secrets from your .env, MinIO buckets are recreated, Postgres starts empty, and the bundled embedding service re-downloads bge-m3 (a few minutes one-time).
Note for production deployments: thedeploy/docker-compose.prod.ymlfile used by dedicated production installs uses bind mounts to host directories under/data/*instead of Docker volumes, sodocker compose -f docker-compose.prod.yml down -vdoes not wipe the data — the host directories survive. To reset a prod install, you’d need to also delete the relevant/data/*directories on the host, which is a much riskier operation and not recommended outside of disaster recovery.
Volumes
All stateful services use named Docker volumes, created automatically bydocker compose up — no user action required:
Because these are named volumes, they re-attach whenever a container is recreated or a store is disabled (
POSTGRES_ENABLED=0) and later re-enabled — disable → re-enable is lossless. If you upgraded from a version where the data services used anonymous volumes, the first up -d after this change starts the stores on fresh named volumes; the installer-era data lives on in the old anonymous volumes (visible via docker volume ls -f dangling=true) and can be copied across with docker run --rm -v <old>:/src:ro -v <new>:/dst alpine cp -a /src/. /dst/.
Commonly used packages (requests, beautifulsoup4, pandas, lxml, feedparser, boto3, google-cloud-storage, azure-storage-blob, openpyxl, pyyaml, python-dateutil, pytz) are baked into the image. When a tap needs something extra (e.g. yfinance), pip downloads it on first run (~30 seconds) and caches the wheel in pip-cache. Subsequent container restarts re-run pip install for those extras, but the install is near-instant because the wheel is already cached locally.
Services
Optional vs opt-in. Services that ship enabled (Postgres, TEI) are disabled with an explicit
*_ENABLED=0 in .env — an .env without these lines keeps them running, so upgrades never silently drop a service you were using. Brand-new services (vector stores, Kafka) activate via COMPOSE_PROFILES. Datris bundles kafka-clients, so pipelines that talk to an external Kafka don’t need the local broker at all — set KAFKA_BOOTSTRAP_SERVERS in .env instead. One teardown nuance: docker compose down ignores inactive profiles, so for a full teardown use docker compose --profile "*" down.Web UIs
API Keys and AI Providers
Datris supports six AI providers. Set your keys in.env:
At least one AI provider key is required for AI features. The embedding provider for RAG is configured via Vault secrets — see AI Configuration for details.
Infrastructure Details
MinIO
Theminio-init container automatically creates the required buckets:
{env}-raw- File upload staging{env}-temp- Temporary processing files{env}-data- Pipeline output (object store destination){env}-config- Configuration files (validation schemas)
{env} is the environment name (default: oss). See Configuration Reference for the environment setting.
Vault
On first boot, thevault-init container seeds Vault with default secrets for the bundled services (MinIO, ActiveMQ, MongoDB, PostgreSQL) plus your AI provider API keys and any external-store credentials (Kafka, vector stores, Snowflake, Databricks) from .env. Vault uses durable file storage on the vault-data volume, so secrets — including any you add later in the Configuration tab or via taps — persist across restarts and rebuilds. .env is the first-boot seed only; after that the Configuration tab is the source of truth. See How Configuration Persists for details and the clean-reset path.
Vector Databases
pgvector is included whenever Postgres is enabled (bundled or external). The others are one line in.env:
- Qdrant — high-performance vector database:
COMPOSE_PROFILES=qdrant - Weaviate — open-source vector database:
COMPOSE_PROFILES=weaviate - Chroma — lightweight, single container:
COMPOSE_PROFILES=chroma - Milvus — scalable vector database; runs external-only (it needs its own etcd/minio stack — see the Milvus standalone install), then set
MILVUS_HOST/MILVUS_PORTin.env
COMPOSE_PROFILES=qdrant,kafka. To use a managed/cloud vector store instead of a bundled one, skip the profile and set the store’s *_HOST / *_PORT / *_API_KEY variables in .env (first boot seeds the credentials into Vault; afterwards manage them in Configuration → Secrets).
External databases and stores
Every optional store can point at infrastructure you already run instead of a bundled container — the installer asks, or set the variables in.env before first boot: POSTGRES_JDBC_URL/POSTGRES_USER/POSTGRES_PASSWORD (with POSTGRES_ENABLED=0), KAFKA_BOOTSTRAP_SERVERS, vector-store *_HOST variables, and SNOWFLAKE_* / DATABRICKS_* destination credentials. These are first-boot seeds: vault-init writes them into Vault create-if-absent, and from then on Configuration → Secrets is the source of truth. The platform’s availability probes treat external stores exactly like bundled ones — the pipeline wizard and the Assistant offer whatever is actually reachable.
Configuration
The pipeline server reads configuration fromapplication.yaml, mounted from docker/config/application.yaml.
See Configuration Reference for the full list of properties.
JVM Heap Sizing
Thedatris service runs a Spring Boot JVM. Its heap is governed by the JAVA_OPTS environment variable, passed in via docker-compose.yml. The default is sized to fit comfortably on an 8 GB host alongside the bundled TEI embedder, Postgres, MongoDB, MinIO, ActiveMQ, Vault, the UI, and the MCP server:
.env file on larger hosts. Suggested sizings:
Example for a 24 GB host:
-Xmx must be smaller than the Docker VM’s allocation, otherwise the kernel inside the VM will OOM-kill containers under load.
Building from Source
For development or contributing:Prerequisites
- Java 17+
- SBT
Build and run
docker-compose.yml, uncomment the build: lines and comment out the image: lines for the services you want to build locally:
