How Qdrant configuration works and when your team needs to change it
If you already have a Qdrant container or cluster running, the next job is setting storage paths, host binding, API keys and TLS before any real data arrives. The open-source engine is licensed under Apache-2.0 and is free to self-host, so these settings are your team's responsibility from the first boot. Qdrant reads them from a configuration file, such as a production.yaml override, and from QDRANT__ environment variables that map onto the same tree. Keys like QDRANT__SERVICE__API_KEY, QDRANT__SERVICE__HOST, QDRANT__STORAGE__SNAPSHOTS_PATH and QDRANT__CLUSTER__ENABLED cover the settings teams change first. Confirm the exact precedence between the file and environment variables for your release in the Qdrant security documentation before you rely on both.
The defaults matter most. By default, self-deployed Qdrant instances listen on all network interfaces and have no authentication configured, so a container published to a host network without changes is reachable by anyone who can route to it. Treat the service host, API key and TLS settings as a single change set rather than three separate tasks, and verify it by calling the REST endpoint from a network location that should be blocked and confirming it is refused. Also decide where snapshots will land, because QDRANT__STORAGE__SNAPSHOTS_PATH determines what your backup job and restore procedure read from.
Cluster mode is the setting that changes the most. Enabling QDRANT__CLUSTER__ENABLED turns a node into a member of a Raft-based cluster, and the node count, peer addresses and replication choices then shape how the cluster behaves in a failure. Store the configuration file in version control, pin the image tag it targets, and review every change through the same process you use for other infrastructure, so a restarted node or a rebuilt host comes back with the settings your security team approved. Ask your team to confirm which keys are safe to set through environment variables in their secret manager and which should stay in reviewed files.
How the config file and environment variables reach the running node
The flow starts with Qdrant's built-in defaults, which leave the instance open on all interfaces with no authentication. A production.yaml override mounted into the container replaces those defaults, and QDRANT__ environment variables passed by Docker, Compose or Kubernetes apply on top. Secrets such as the API key should enter through the environment or a secret store, and snapshot output lands on the storage path. Confirm the precedence order in the Qdrant version you run before relying on it.
General flow of settings into a running Qdrant node; confirm precedence in your version.
Which settings teams change first and when each fits
This table lists the setting families teams usually change first in Qdrant, with the documented key names, what each controls, when to change it and the risk of leaving it at default. Read each row as a checklist item before the first production start, because most defaults are open to any network that can reach the instance.
| Setting | What it controls | When to change it | Risk if left at default |
|---|---|---|---|
Storage and snapshot paths (storage.storage_path, storage.snapshots_path, or QDRANT__STORAGE__SNAPSHOTS_PATH) | Where collection data and snapshot archives are written on the host or container | Before the first load, so data sits on the block-storage volume you back up and monitor | Data and snapshots land in the container layer or a path with no backup, and restores depend on what was left behind |
Service host and port (service.host, service.http_port, service.grpc_port, or QDRANT__SERVICE__HOST) | The network interface Qdrant listens on for REST and gRPC traffic | When you need to bind to a specific private address instead of all interfaces | Qdrant listens on all network interfaces, so any reachable host can connect to an instance without authentication |
API keys, admin and read-only (service.api_key, service.read_only_api_key, or QDRANT__SERVICE__API_KEY) | Authentication for REST and gRPC requests, with a full-access key and a read-only key | Before any client or network route reaches the instance, and before exposing it outside a single host | No authentication is configured, so anyone with network access can read, write or delete data |
TLS for REST and gRPC (service.enable_tls and the certificate and key path settings in the TLS section) | Encryption in transit for client traffic, with TLS available for both REST and gRPC since v1.2.0 | When traffic crosses a network boundary or clients run outside the host, and whenever a compliance control asks for encryption in transit | API keys and data travel in plain text between clients and the server |
Cluster mode (cluster.enabled or QDRANT__CLUSTER__ENABLED, plus node settings such as cluster.p2p and cluster.consensus) | Whether the node joins a distributed cluster that uses Raft consensus for topology and collection structure | Before any multi-node work, since the docs recommend at least three nodes for production clusters so quorum survives one node failure | A single node runs standalone, so a host failure stops the service and the data has no replica |
How the same settings differ across Docker, Compose and Kubernetes
On a single Docker host, the container reads its configuration from a file mounted into the container and from environment variables passed at start. Mount production.yaml read-only into the container's config directory with a bind mount or a file mount, so the file on the host is the single source of truth. Pass QDRANT__ variables with --env flags or an --env-file, which keeps them out of the image and out of shell history when the file is protected.
- File mount: Mount the override file read-only so the container cannot rewrite its own settings.
- Storage path: Point
QDRANT__STORAGE__SNAPSHOTS_PATHat a named volume or a dedicated path, not the container's writable layer. - Key source: Set
QDRANT__SERVICE__API_KEYfrom a secret store or a root-owned file read at deploy time, never a value typed into a script committed to Git. - Env file: If you use
--env-file, restrict its permissions on the host and exclude it from version control. - Build-time gap: Do not bake keys into a custom image, because every copy of the image then carries the secret.
For the full host setup, including volumes, open file limits and restart policy, see Running Qdrant in Docker for production. Confirm the exact config directory path for your image tag before you write the mount.
Compose describes the same mounts and variables declaratively, so the Compose file becomes the place where configuration is reviewed. Settings usually live in a configs or bind-mounted file alongside the Compose file, and variables are listed under environment or loaded from an .env file. Compose also interpolates values from the host environment, which is convenient but makes it easy to leak a value into a file that is then committed.
- Mounted file: Keep
production.yamlin the same repository as the Compose file and mount it read-only into the service. - Variables: Use
environmententries for non-secret settings such asQDRANT__CLUSTER__ENABLEDand host bindings. - Secrets: Use Compose
secretsbacked by a file outside the repository, or inject the key from the host at deploy time, so the value is not indocker-compose.yml. - Interpolation check: Run the rendered configuration command before deploying to confirm which values Compose will substitute.
- Pinned image: Keep the image tag pinned in the same file so configuration and version change together in review.
The install steps, healthchecks and upgrade method are covered in Qdrant with Docker Compose. Check that your secrets mechanism is supported by your Compose version before you rely on it.
On Kubernetes, the configuration is usually delivered as a ConfigMap for the file and as a Secret for values that must stay private. The pod mounts the ConfigMap as a volume, and the API key is referenced from a Secret through an environment variable, so the value is never written into the manifest or chart values committed to Git. Cluster mode settings are normally set the same way, and the values differ per pod only where the chart requires it.
- ConfigMap file: Mount
production.yamlfrom a ConfigMap so changes go through the same review as manifests. - Secret reference: Pass
QDRANT__SERVICE__API_KEYfrom a Secret withsecretKeyRef, and populate that Secret from an external secret manager or sealed secrets. - Cluster settings: Set
QDRANT__CLUSTER__ENABLEDthrough chart values, and confirm which keys the chart already manages so you do not set them twice. - Rollout behavior: Changing a ConfigMap does not restart pods by itself, so plan a rollout when the configuration changes.
- Storage paths: Keep the storage and snapshot paths on persistent volumes that match the pod's mount points.
For the chart install, cluster sizing and the operational gaps compared with the Enterprise Operator, read Deploying Qdrant on Kubernetes with the Helm chart. Confirm with your platform team which secret store your cluster uses before writing any manifest.
Setting up a production configuration file step by step
This sequence turns a default Qdrant install, which listens on every interface with no authentication, into a pinned, access-controlled node with storage on block devices and a configuration file your team can review and version.
Confirm the release and pin the image tag
Before writing any configuration, choose the Qdrant release you will run and pin it by exact tag rather than latest. The most recent release referenced in the research is v1.19.2, published October 5, 2026, following v1.19.0 on August 5, 2026. Confirm the release notes and your client SDK compatibility on the Qdrant GitHub releases page, then record the tag in your deployment repository. Done means the tag is written in your manifest or Compose file and matches the image your staging host pulls.
Write production.yaml with storage and snapshot paths
Create a production.yaml file that sets the storage path and the snapshots path to directories on block-level storage with a POSIX-compatible file system. Qdrant cannot run on NFS or object storage such as S3, and SSD or NVMe is recommended. Keep the snapshots path on a separate volume from the storage path so backup files do not compete with live data for space. Done means the paths exist on the host, are owned by the user the container runs as, and a test start creates files in them.
Set the service host binding
Set the service host in the configuration to the interface the node should serve on, rather than relying on the default. The Qdrant security documentation notes that self-deployed instances listen on all network interfaces by default, so a private address or a loopback address behind a reverse proxy is safer for most designs. Confirm the value with your network team and the port mapping in your container runtime. Done means that a scan from a host outside the intended network does not reach the service port, and a request from inside the intended network does.
Set admin and read-only API keys from secrets
Define an admin API key and a read-only API key through environment variables such as QDRANT__SERVICE__API_KEY, or the matching configuration keys, and inject the values from your secrets manager or orchestrator secrets rather than writing them into the YAML file. Keep the key values out of shell history and out of the version-controlled repository. Qdrant supports admin and read-only keys since v1.2.0. Done means the variables are present in the running container, and the values are not visible in the committed files.
Verify that unauthenticated requests are rejected
Restart the node with the new configuration and send a request to the collections endpoint without an API key. The request should be rejected. Then send the same request with the admin key and with the read-only key, and confirm that the read-only key cannot create or delete a collection. Also confirm the node answers only on the interface set in the previous step. Record the results in your change ticket. Done means the unauthenticated call fails, both keys behave as their scope requires, and the port is reachable only from the intended network.
Enable TLS for REST and gRPC
Add the TLS certificate and private key paths to the configuration for both REST and gRPC, and supply the key files through a mounted secret or a protected file path. Coordinate with your certificate authority or internal PKI team on certificate names, expiry monitoring and rotation. Qdrant has supported TLS for REST and gRPC since v1.2.0. Done means a client that trusts your CA connects over HTTPS and gRPC, and a client without the trusted CA fails the handshake.
Set cluster mode only for multi-node designs
Leave cluster mode disabled for a single node. Enable it through the configuration or QDRANT__CLUSTER__ENABLED only when you are building a distributed deployment, and then follow the cluster design, including node count, shard count and replication factor. The distributed deployment documentation recommends at least three nodes for production so quorum survives a node failure. Each node needs its own configuration and its own storage volume. Done means the node reports its cluster status as expected on the intended peers and a single-node deployment stays on single-node settings.
Store the configuration under version control
Commit production.yaml, the environment variable list with secret references but no secret values, and the pinned image tag to your infrastructure repository. Require code review for changes and run the same validation on every change that you ran during the first rollout. Keep a record of which configuration each running node uses so an incident responder can compare it with the repository. Done means a fresh node built from the repository alone reaches the same verified state as the first production node.
Protecting secrets and access in configuration
A Qdrant configuration file and its environment variables often carry the keys that guard your vectors. The cards below cover where secrets live, who can reach the API, how traffic is encrypted, and how changes are reviewed, so each setting you change first is also one you can defend.
Keep API keys out of the image and repository
Set the service API key through QDRANT__SERVICE__API_KEY injected at runtime from your secret manager or orchestrator secret, not written into production.yaml or a Dockerfile. Anyone who can read the image layers or the repository can otherwise read the key. Check that the key does not appear in container inspect output, shell history or CI logs, and that rotation means changing one secret value and restarting, not editing files.
Scope access with JWT per collection
Admin and read-only keys are coarse. Since v1.9.0, JWT-based access control lets you grant read or write permissions per collection, so an application that only searches one collection does not hold write rights to others. Decide which services need which collections before you issue tokens, and confirm in your own environment that the signing secret is stored with the same care as the admin key.
Qdrant security docsTurn on audit logging and route its output
Since v1.17.0, Qdrant can write JSON audit logs of authenticated API operations. Enabling the setting is not enough on its own: decide where the output goes, such as your log collector with a retention period your compliance team has approved, and confirm that log lines identify the caller without exposing key material. Test by making one authenticated write and finding it in the destination.
Qdrant security docsRestrict the listening interface
A self-deployed Qdrant listens on all network interfaces and has no authentication by default. Set the host in configuration so the service binds only to the interface your clients reach, and place it behind a private network, load balancer or ingress you control. Verify from outside the trusted network that the REST and gRPC ports do not answer, because a configuration that works in testing can still expose the service in production.
Qdrant security docsEnable TLS for REST and gRPC
Qdrant supports TLS for both REST and gRPC since v1.2.0. Configure certificates and keys through the configuration file, mounted from a secret store rather than baked into an image. Confirm that every client SDK and health probe uses the matching scheme and trusts your certificate authority, and plan certificate renewal so a rotated certificate does not stop search traffic.
Review configuration changes in version control
Keep production.yaml, environment variable manifests and the secret references in a Git repository, and require a pull request with a named reviewer for every change to service, storage, cluster or TLS settings. Diffs show exactly which key moved, and history answers who changed a setting and when. Store only secret names in the repository, never the values, and confirm that your CI system masks any secret it prints.
Keeping configuration under version control without leaking keys
Keep the non-secret parts of your Qdrant configuration in Git and keep the secret values out of it. Commit production.yaml, the environment manifests that set QDRANT__ variables, and the Compose or Kubernetes manifests that mount them, so every change to storage paths, the service host, TLS settings or cluster mode has an author, a review and a history. Do not commit the API key values, the admin or read-only keys, JWT signing material, or TLS private keys. Store the file paths and variable names in Git, and resolve the values at deploy time from your platform's secret store, such as a Kubernetes Secret referenced by secretKeyRef, a Docker secret, or your vault. Confirm in your own environment which of these mechanisms your Qdrant version and deployment method accept, and whether the config file can point at a secret file instead of an inline value.
Test each configuration change on a staging node before it reaches production. Run the same image tag and the same production.yaml on a staging node that holds a copy of a representative collection, then check that the service starts, the API key rejects unauthenticated calls, TLS certificates validate with your clients, and the snapshot path is writable. Include the change in a pull request so the reviewer can see the diff against the production file. Treat any change that moves the snapshot or storage path as a change to your recovery process, because existing snapshots and the procedures that restore them depend on where they are written.
Review configuration changes that accompany a Qdrant upgrade with snapshot compatibility in mind. Qdrant snapshots restore only to clusters running the same minor version or the next minor version, so a config change bundled with a version bump can make a staging restore test look valid while the production restore path is untested. Record the Qdrant version that produced each snapshot alongside the configuration commit, and keep the restore test tied to the version you are moving to. The upgrade procedure itself is covered in the upgrades section, so use this review step as a gate: no version bump merges without a restore test against the new version.
What to confirm before you rely on a configuration
Qdrant accepts settings from a production.yaml file and from QDRANT__ environment variables, and the exact behavior depends on your release and deployment. The cards below list the checks that connect configuration to security, storage and cluster design, so you verify them on your own version before you depend on them.
Confirm key names and precedence
Check the exact spelling of each key, such as QDRANT__SERVICE__API_KEY or QDRANT__STORAGE__SNAPSHOTS_PATH, against the release you run. Confirm which source wins when a value appears in both the YAML file and an environment variable, and test that precedence on a staging host. A misspelled variable is often ignored without an error, so the service can start with defaults you did not intend.
Confirm which changes need a restart
Determine for each setting whether a change takes effect only after a restart, or whether it is read at runtime. Treat any change to API keys, TLS, host binding or cluster mode as a planned restart in a maintenance window. Record the restart behavior for your release in your runbook so operators do not assume a live edit took effect.
Check cluster mode against replication
Enabling cluster mode with QDRANT__CLUSTER__ENABLED changes how collections are split and copied. Compare your replication factor with the node count, because a replication factor of 2 doubles storage, and the distributed docs recommend at least three nodes so quorum survives one node failure. Confirm that your planned node count and shard count fit these rules before you write the configuration.
Confirm storage type before setting paths
Qdrant needs block-level storage with a POSIX-compatible file system, and it does not run on NFS or S3-backed mounts. Before you point QDRANT__STORAGE__SNAPSHOTS_PATH or the storage path at a volume, confirm with your platform team what sits underneath that path. Mounts that look local can still be network file systems, so verify the file system type on the host.
Confirm SDK support for your auth method
Your chosen authentication method, whether an admin key, a read-only key or JWT-based per-collection access, must work with every client SDK your applications use. Test each SDK and language version against an instance with TLS and the API key enabled, including the header format it sends. Do not assume that a client which connects without a key will handle a rejected request cleanly.
Security docsConfirm snapshot restore compatibility
Snapshots are tied to version rules, so a configuration that moves a snapshot path must still match the version you restore into. Confirm that snapshots can be restored only to clusters on the same minor version or the next minor version. Check this before you change the snapshot location or upgrade, since a mismatch surfaces at restore time, not at backup time.
Snapshots docsCommon questions about Qdrant configuration
Can our team configure Qdrant for production without outside help?
Yes, if your team already runs containers and manages secrets, and the deployment is a single node or a small cluster with standard identity needs. The configuration itself is a short YAML file plus environment variables, and the settings that matter most are storage paths, the service host, API keys and TLS. The harder parts are network exposure and access design, because the Qdrant security documentation states that self-deployed instances listen on all network interfaces and have no authentication configured by default. Teams without security or platform experience often ask a partner to review the configuration before go-live, and DeployOpen can do that as a fixed-scope engagement with a written scope.
How long does a first production Qdrant configuration take?
The duration depends mostly on four factors: your team's familiarity with the platform, the number of nodes, how much TLS and identity work is required, and how secrets are managed. A single node with an API key and a secret store entry is a much smaller job than a three-node cluster with TLS between nodes and clients and access rules per collection. No fixed duration applies to every environment, so ask for a timeline in the written scope and confirm each dependency in your own environment before the work starts.
What does the team need to provide for the configuration work?
Plan to provide four things before configuration starts:
- A container platform, such as Docker hosts or a Kubernetes cluster, where the
qdrant/qdrantimage can run with block storage. - A secret store that holds the API keys and TLS material, so values never sit in a plain-text file under version control.
- DNS records for the service names clients will use, and a certificate process that issues and renews the certificates Qdrant serves.
- Named owners for the storage volumes, the network rules and the change approval path.
The platform also needs block storage with a POSIX-compatible file system, because Qdrant cannot run on NFS or S3 mounts according to the Qdrant installation documentation.
Should environment variables or the production.yaml file take precedence?
Keep the shared, non-secret settings in production.yaml under version control, and use QDRANT__ environment variables for values that differ per environment or come from a secret store, such as QDRANT__SERVICE__API_KEY. Confirm the precedence rules for your Qdrant version in the Qdrant documentation before you rely on an override, and test the effective value after each deployment. Settings that appear in two places are the most common source of confusion during troubleshooting, so keep each key in one place where possible.
What happens to running clients when we change the API key?
Clients that send the old key are rejected once the new key takes effect, so every application, pipeline and SDK that calls Qdrant must receive the new key before or at the same time as the server change. Plan the rotation as a coordinated change: add the new key to each client's secret store, restart or reload the clients, then switch the server, and watch authentication errors in the logs during the window. Admin and read-only keys can be separated, which lets you rotate read-only clients on a different schedule from administrative tools.
Do we need a license to self-host the open-source Qdrant engine?
No license fee applies to the open-source engine. Qdrant is licensed under Apache-2.0 according to its GitHub repository, and the engine is free to self-host. Your costs are the infrastructure, the people who run it and any paid support or enterprise offering you choose, such as Qdrant Hybrid Cloud or Private Cloud, which are priced through Qdrant sales. Have legal review the license text against your own use, and check the Qdrant pricing page for the current terms of paid offerings.
When should a DeployOpen quote follow a written scope?
A quote should follow a written scope, because the price depends on what the configuration must cover. Before you request one, list the deployment target, the node count, the TLS and identity requirements, the secret store you use, and the environments that need separate configuration. DeployOpen does not publish a price list, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask the quote to separate one-time setup from any recurring support or retainer work.
Where configuration crosses trust boundaries
The diagram starts with clients outside the network sending REST and gRPC requests to a load balancer or ingress, where TLS may be terminated. The next hand-off is to the Qdrant node, which checks the API key before serving requests, and the node reads its settings from production.yaml and QDRANT__ environment variables. Qdrant's default is to listen on all interfaces with no authentication, so each boundary needs a named control. Confirm with your own design where TLS ends, whether traffic is re-encrypted before it reaches the node, and which network paths can reach the snapshot target.
Trust boundaries and controls between clients, the ingress, the Qdrant node and its storage.
How DeployOpen scopes a Qdrant configuration review
DeployOpen plans and implements self-hosted Qdrant inside the client's own infrastructure, including the configuration that governs how each node starts. A configuration review is scoped in writing before any work begins, so the client knows which nodes, environments and settings are covered, who approves changes, and what the finished handover contains. Most engagements are fixed-scope, and the agreed deliverables define the boundary of the work. Pricing follows from that written scope rather than from a standard list, so the scope document is the thing to compare across proposals.
The usual handover for a configuration review is a reviewed production.yaml for each environment, with each setting annotated by its purpose and the default it replaces. Alongside it, DeployOpen documents the approach to secret handling: which values are supplied through QDRANT__SERVICE__API_KEY and similar QDRANT__ environment variables, where those values are stored, who can read them, and how they rotate. The review also records the storage and snapshot paths, the service host and TLS settings, and whether cluster mode is enabled, with the reasons for each choice. The client should confirm the exact file format, naming and repository location in the scoping document before work starts.
The client should also expect a written statement of what is not covered, such as network controls, container runtime settings or upgrade procedures, which may belong to other workstreams. Ask for the acceptance criteria in the scope, including how the configuration will be verified on a running node and who signs off. Confirm how configuration changes will be tracked after handover, because a reviewed file that is edited directly on a server soon stops matching the documented baseline.
How DeployOpen delivers Qdrant configuration
DeployOpen plans the Qdrant configuration file and environment variables as part of the platform build, not as an afterthought. We agree the settings, the secrets handling and the version control layout in writing, then build, test and document them inside your own infrastructure.
How we scope
- Inventory every setting your deployment needs: storage and snapshot paths, service host, API keys, TLS and cluster mode.
- Decide which settings live in production.yaml and which are passed as QDRANT__ environment variables at runtime.
- Agree in writing how secrets reach the container or pod, and who owns rotation and access to them.
How we build
- Write the production.yaml and environment variable set for your target: Docker, Kubernetes or an air-gapped network.
- Bind the service to the interfaces you choose and enable API keys and TLS before any client connects.
- Verify each setting on a test instance, including that snapshot paths resolve to the storage you planned.
How we hand over
- Store configuration in a version-controlled repository with review rules, pinned image tags and a changelog.
- Document each key, its default, its owner and the change procedure in a runbook your team can follow.
- Provide a checklist your security or compliance reviewers can use to confirm the configuration matches the agreed scope.
How we support
- Re-check configuration when you upgrade Qdrant, since settings and defaults can change between releases.
- Ongoing support, upgrades and continuous testing are available as a retainer, agreed in writing.
- Ask any partner, including DeployOpen, to confirm which configuration keys apply to your exact Qdrant version before a change.

