File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
content/influxdb3/explorer Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ docker run --detach \
28
28
--name influxdb3-explorer \
29
29
--publish 8888:80 \
30
30
--publish 8889:8888 \
31
- --env MODE=admin \
32
- quay.io/influxdb/influxdb3-explorer:latest
31
+ quay.io/influxdb/influxdb3-explorer:latest \
32
+ --mode=admin
33
33
```
34
34
35
35
<a class =" btn " href =" /influxdb3/explorer/install/ " >Install and run InfluxDB 3 Explorer</a >
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ Use [Docker](https://docker.com) to install and run **InfluxDB 3 Explorer**.
83
83
--volume $( pwd) /config:/app-root/config:ro \
84
84
--volume $( pwd) /db:/db:rw \
85
85
--volume $( pwd) /ssl:/etc/nginx/ssl:ro \
86
- --env MODE=admin \
87
- quay.io/influxdb/influxdb3-explorer:latest
86
+ quay.io/influxdb/influxdb3-explorer:latest \
87
+ --mode=admin
88
88
` ` `
89
89
90
90
5. ** Access the {{% product-name %}} user interface (UI) at < http://localhost:8888> ** .
@@ -163,34 +163,37 @@ These settings will be used as defaults when the container starts.
163
163
- ** Query mode (default):** Read-only UI and query interface
164
164
- ** Admin mode:** Full UI and API access for administrators
165
165
166
- You can control the operational mode using the ` MODE` environment variable.
166
+ You can control the operational mode using the ` --mode=` option in your
167
+ ` docker run` command (after the image name).
167
168
168
169
# ## Run in query mode {note="(default)"}
169
170
170
171
` ` ` sh
171
- docker run -d \
172
- --env MODE=query \
172
+ docker run \
173
173
...
174
+ --mode=query
174
175
` ` `
175
176
176
177
# ## Run in admin mode
177
178
178
179
` ` ` sh
179
- docker run -d \
180
- --env MODE=admin \
180
+ docker run \
181
181
...
182
+ --mode=admin
182
183
` ` `
183
184
184
- If ` MODE ` is not set, the container defaults to query mode.
185
+ If ` --mode ` is not set, the container defaults to query mode.
185
186
186
187
---
187
188
188
189
# # Environment Variables
189
190
191
+ Use the following environment variables to customize {{% product-name %}} settings
192
+ in your container.
193
+
190
194
| Variable | Description | Default |
191
195
| ----------------| --------------------------------------------------| ----------------------|
192
196
| ` DATABASE_URL` | Path to SQLite DB inside container | ` /db/sqlite.db` |
193
- | ` MODE` | Set to ` admin` or ` query` | ` query` |
194
197
195
198
---
196
199
You can’t perform that action at this time.
0 commit comments