influxdb3-ui

InfluxDB 3 UI Docker Image

用于InfluxDB时序数据库的数据探索与可视化用户界面,支持数据查询、分析及管理操作,提供直观的时序数据交互体验。

5 次收藏下载次数: 0状态:社区镜像维护者:influxdata仓库类型:镜像最近更新:
下载命令
点击查看

What is InfluxDB 3 Explorer?

InfluxDB 3 Explorer is a standalone web application designed for visualizing, querying, and managing your data stored in InfluxDB 3. Explorer provides an intuitive interface for interacting with your time series data.

How to use this image

Requirements

To use InfluxDB 3 Explorer, you need a compatible InfluxDB 3 instance, such as InfluxDB 3 Core or InfluxDB 3 Enterprise. See the official https://hub.docker.com/_/influxdb.

Pull the image

bash
docker pull influxdata/influxdb3-ui:latest

Start InfluxDB 3 Explorer

Run InfluxDB 3 Explorer using Docker CLI.

Query mode (default)

To start Explorer in query mode, which lets people query and visualize data but not manage the database:

bash
docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  influxdata/influxdb3-ui:latest

Query mode hides the admin pages and refuses the requests behind them: creating or deleting databases and tables, writing and importing data, managing tokens, triggers, plugins and caches, and changing AI settings.

What Explorer can read is still decided by the token of the connection. Anyone who can reach Explorer uses that token to run queries, so give a query-mode Explorer a token that can only read the databases it should show — not an admin token. A read-only token for Explorer needs, besides db:<database>:read, permission to answer /ping and /health:

bash
influxdb3 create token \
  --permission "db:my_database:read" \
  --permission "system:ping,health:read" \
  --name explorer-read-only

Admin mode

To start Explorer in admin mode with full functionality:

bash
docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  influxdata/influxdb3-ui:latest \
  --mode=admin

This command:

  • Maps container port 8080 to host port 8080 (web UI)
  • Runs the container in admin mode

If --mode is not set, the container defaults to query mode.

Access the Explorer UI at http://localhost:8080 in your browser.

Persistent data storage

To preserve Explorer application data across container restarts, mount a local directory:

IMPORTANT: The container runs as non-root user influxui (uid 1500). The mounted directory must be owned by this user.

bash
mkdir -p ./db
sudo chown -R 1500:1500 ./db
chmod 700 ./db
bash
docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  --volume $(pwd)/db:/db:rw \
  influxdata/influxdb3-ui:latest \
  --mode=admin

Troubleshooting: If you see SQLITE_CANTOPEN errors, fix the directory ownership:

bash
sudo chown -R 1500:1500 ./db
docker restart influxdb3-explorer

Pre-configure InfluxDB connections

To pre-configure InfluxDB connection settings, create a config.json file and mount it:

bash
mkdir -p ./config ./db
sudo chown -R 1500:1500 ./db
chmod 755 ./config
chmod 700 ./db

# Create config file
cat > ./config/config.json << 'EOF'
{
  "DEFAULT_INFLUX_SERVER": "http://host.docker.internal:8181",
  "DEFAULT_INFLUX_DATABASE": "my_database",
  "DEFAULT_API_TOKEN": "your-admin-token",
  "DEFAULT_SERVER_NAME": "my_server"
}
EOF
bash
docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  --volume $(pwd)/config:/app-root/config:ro \
  --volume $(pwd)/db:/db:rw \
  influxdata/influxdb3-ui:latest \
  --mode=admin

Enable HTTPS

To enable TLS/SSL, mount a certificate and its private key into the container. Explorer then serves HTTPS on the same port, 8080, instead of HTTP; there is no separate HTTPS port.

Place cert.pem (certificate) and key.pem (private key) in your local ./ssl directory. Explorer picks them up from /etc/nginx/ssl automatically; for other file names, see Custom SSL certificate paths.

bash
# Create directories
mkdir -p ./ssl ./db
sudo chown -R 1500:1500 ./db
chmod 755 ./ssl

# Place your cert.pem and key.pem files in ./ssl directory

docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  --volume $(pwd)/ssl:/etc/nginx/ssl:ro \
  --volume $(pwd)/db:/db:rw \
  influxdata/influxdb3-ui:latest \
  --mode=admin

Access the UI via HTTPS at https://localhost:8080

Custom SSL certificate paths

You can use custom locations for certificate and key files:

bash
mkdir -p ./ssl ./db
sudo chown -R 1500:1500 ./db
chmod 755 ./ssl

docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  --volume $(pwd)/ssl:/custom/ssl:ro \
  --volume $(pwd)/db:/db:rw \
  --env SSL_CERT_PATH=/custom/ssl/server.crt \
  --env SSL_KEY_PATH=/custom/ssl/server.key \
  influxdata/influxdb3-ui:latest \
  --mode=admin

Access the UI via HTTPS at https://localhost:8080

Disable AI features

To turn off every AI feature for the whole installation, start Explorer with --disable-explorer-ai:

bash
docker run --detach \
  --name influxdb3-explorer \
  --publish 8080:8080 \
  influxdata/influxdb3-ui:latest \
  --mode=admin \
  --disable-explorer-ai

You can also set the environment variable DISABLE_EXPLORER_AI=true, or "DISABLE_EXPLORER_AI": true in config.json.

This covers Ask AI, natural language queries, the Flux Converter, custom sample data generation and the AI provider configuration. Nothing is sent to an AI provider or to console.influxdata.com, including through direct API calls, which answer 403 with the code AI_DISABLED. DEFAULT_AI_TOKEN is ignored, and users cannot turn AI back on from the UI.

Saved API keys and chat history stay in the Explorer database but are not used. To check the setting, call GET /api/features, which answers {"aiDisabled":true}.

Environment variables

The following environment variables can be used to configure the container:

  • DATABASE_URL - Path to SQLite database inside container (default: /db/sqlite.db)
  • SESSION_SECRET_KEY - Secret key for session management (recommended for production)
  • SSL_CERT_PATH - Path to SSL certificate file (default: /etc/nginx/ssl/cert.pem, when that file and the key are present)
  • SSL_KEY_PATH - Path to SSL private key file (default: /etc/nginx/ssl/key.pem, when that file and the certificate are present)
  • PLUGIN_REGISTRY_ALLOWED_HOSTS - Comma-separated hosts plugin registries can be added from (default in this image: github.com). To use your own registry, pass every allowed host with -e, for example -e PLUGIN_REGISTRY_ALLOWED_HOSTS=github.com,registry.example.com; the image sets this variable, so a value in config.json does not override it. * allows any host except loopback, private and link-local addresses
  • OPENAI_BASE_URL, ANTHROPIC_BASE_URL, GEMINI_BASE_URL - Base URL of the AI provider's API, for an OpenAI-compatible endpoint, a proxy or a local model (default: the provider's public API). OPENAI_BASE_URL must include the API version, for example http://host.docker.internal:11434/v1. For ANTHROPIC_BASE_URL and GEMINI_BASE_URL the version may be omitted: Explorer adds /v1 and /v1beta when the address does not already end in a version. An empty value counts as unset; a value that is not an http or https URL makes AI requests fail
  • DISABLE_EXPLORER_AI - Set to true to turn off every AI feature (default: false). See Disable AI features
  • HTTP_REQUEST_TIMEOUT_SECS - Seconds an outgoing request from Explorer (to InfluxDB, AI providers and plugin registries) may take before it fails (default: 120). Raise it for exports or queries that run longer; 0 disables the limit

Important for production: Always set SESSION_SECRET_KEY in production. When you restart the container, InfluxDB 3 Explorer generates a new key if not explicitly set.

For more information about available options and environment variables, see the https://docs.influxdata.com/influxdb3/explorer/install/

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 influxdb3-ui 镜像标签

docker pull docker.xuanyuan.run/influxdata/influxdb3-ui:<标签>

DockerHub 原生拉取命令

docker pull influxdata/influxdb3-ui:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告