Install and run InfluxDB 3 Explorer
InfluxDB 3 Explorer is in Public Beta
InfluxDB 3 Explorer is in public beta and available for testing and feedback, but is not meant for production use yet. Both the product and this documentation are works in progress. We welcome and encourage your input about your experience with the beta and invite you to join our public channels for updates and to share feedback.
Use Docker to install and run InfluxDB 3 Explorer.
- Run the InfluxDB 3 Explorer Docker container
- Enable TLS/SSL (HTTPS)
- Pre-configure InfluxDB connection settings
- Run in query or admin mode
- Environment Variables
- Volume Reference
- Exposed Ports
Run the InfluxDB 3 Explorer Docker container
Install Docker
If you haven’t already, install Docker or Docker Desktop.
Pull the InfluxDB 3 Explorer Docker image
docker pull quay.io/influxdb/influxdb3-explorer:latest
Create local directories (optional)
InfluxDB 3 Explorer can mount the following directories on your local machine:
Directory Description Permissions ./db
Stores InfluxDB 3 Explorer application data 700 ./config
Stores pre-configured InfluxDB connection settings 755 ./ssl
Stores TLS/SSL certificates (Required when using TLS/SSL) 755 If you don’t create and mount a local
./db
directory, InfluxDB 3 Explorer stores application data in the container’s file system. This data will be lost when the container is deleted.To create these directories with the appropriate permissions, run the following commands from your current working directory:
mkdir -m 700 ./db mkdir -m 755 ./config mkdir -m 755 ./ssl
Run the InfluxDB 3 Explorer container
Use the
docker run
command to start the InfluxDB 3 Explorer container. Include the following:- Port mappings:
8888
to80
(or443
if using TLS/SSL)8889
to8888
- Mounted volumes:
$(pwd)/db:/db:rw
$(pwd)/config:/app-root/config:ro
$(pwd)/ssl:/etc/nginx/ssl:ro
- Any of the available environment variables
docker run --detach \ --name influxdb3-explorer \ --publish 8888:80 \ --publish 8889:8888 \ --volume $(pwd)/config:/app-root/config:ro \ --volume $(pwd)/db:/db:rw \ --volume $(pwd)/ssl:/etc/nginx/ssl:ro \ quay.io/influxdb/influxdb3-explorer:latest \ --mode=admin
- Port mappings:
Access the InfluxDB 3 Explorer user interface (UI) at http://localhost:8888.
Enable TLS/SSL (HTTPS)
To enable TLS/SSL, mount valid certificate and key files into the container:
Place your TLS/SSL certificate files your local
./ssl
directoryRequired files:
- Certificate:
server.crt
orfullchain.pem
- Private key:
server.key
- Certificate:
When running your container, mount the SSL directory and map port 443 to port 8888
Include the following options when running your Docker container:
--volume $(pwd)/ssl:/etc/nginx/ssl:ro \ --publish 8888:443
The nginx web server automatically uses certificate files when they are present in the mounted path.
Pre-configure InfluxDB connection settings
You can predefine InfluxDB connection settings using a config.json
file.
Create a
config.json
file in your local./config
directory{ "DEFAULT_INFLUX_SERVER": "
INFLUXDB3_HOST", "DEFAULT_INFLUX_DATABASE": "INFLUXDB_DATABASE_NAME", "DEFAULT_API_TOKEN": "INFLUXDB3_AUTH_TOKEN", "DEFAULT_SERVER_NAME": "INFLUXDB3_SERVER_NAME" }If connecting to an InfluxDB 3 Core or Enterprise instance running on localhost (outside of the container), use the internal Docker network to in your InfluxDB 3 host value–for example:
http://host.docker.internal:8181
Mount the configuration directory
Include the following option when running your Docker container:
--volume $(pwd)/config:/app-root/config:ro
These settings will be used as defaults when the container starts.
Run in query or admin mode
InfluxDB 3 Explorer has the following operational modes:
- Query mode (default): Read-only UI and query interface
- Admin mode: Full UI and API access for administrators
You can control the operational mode using the --mode=
option in your
docker run
command (after the image name).
Run in query mode
docker run \
...
--mode=query
Run in admin mode
docker run \
...
--mode=admin
If --mode
is not set, the container defaults to query mode.
Environment Variables
Use the following environment variables to customize InfluxDB 3 Explorer settings in your container.
Variable | Description | Default |
---|---|---|
DATABASE_URL | Path to SQLite DB inside container | /db/sqlite.db |
Volume Reference
Container Path | Purpose | Host Example |
---|---|---|
/db | SQLite DB storage | ./db |
/app-root/config | JSON config for defaults | ./config |
/etc/nginx/ssl | SSL certs for HTTPS | ./ssl |
Exposed Ports
Port | Protocol | Purpose |
---|---|---|
80 | HTTP | Web access (unencrypted) |
443 | HTTPS | Web access (encrypted) |
Custom port mapping
# Map ports to custom host values
--publish 8888:80 --publish 8443:443
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Explorer and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.