docs(influxdb3): Update token documentation for Docker Compose and CI/CD #6756
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates InfluxDB 3 Core and Enterprise documentation to better support Docker Compose deployments and CI/CD workflows with preconfigured admin tokens.
Token Format Verification
Both Core and Enterprise tokens are in the correct JSON format:
{ "token": "apiv3_...", "name": "admin", "description": "Admin token for InfluxDB 3 Core/Enterprise" }Docker Secrets Verification
Both services correctly mount tokens as Docker secrets:
/run/secrets/influxdb3-core-token✅/run/secrets/influxdb3-enterprise-admin-token✅Changes
1. Updated Offline Admin Token Schema
File:
content/shared/influxdb3-admin/tokens/admin/preconfigured.mddescriptionfield as an optional field alongsideexpiry_millis2. Added Docker Compose Setup Documentation
File:
content/shared/influxdb3-get-started/setup.mdNew expandable section: "Docker Compose with preconfigured admin tokens"
Rationale
Token File Format Flexibility
The InfluxDB 3 server accepts offline token files with either:
expiry_millis(generated by CLI--offlineoption)description(manually created for documentation/reference)Docker Secrets Benefits
docker inspectoutputCI/CD Support
Enables automated deployments by:
Related
INFLUXDB3_AUTH_TOKENenvironment variable (already documented)