Skip to content

Commit f4c1a99

Browse files
committed
docker: adds influxdbv3 config (commented out)
1 parent 56f73ea commit f4c1a99

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

docker/docker-compose.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,42 @@ services:
2525
- INFLUXDB_URL=http://localhost:8087
2626
- INFLUXDB_USERNAME=tester
2727
- INFLUXDB_PASSWORD=passw0rd
28+
# influxdb3-core:
29+
# container_name: influxdb3-core
30+
# image: influxdb:3-core
31+
# networks:
32+
# - influxdb3
33+
# ports:
34+
# - 8181:8181
35+
# command:
36+
# - influxdb3
37+
# - serve
38+
# - --node-id=node0
39+
# - --object-store=file
40+
# - --data-dir=/var/lib/influxdb3/data
41+
# - --plugin-dir=/var/lib/influxdb3/plugins
42+
# - --admin-token-file=/tmp/admin-token.json
43+
# security_opt:
44+
# - label=disable
45+
# volumes:
46+
# - influxdb3-storage:/var/lib/influxdb3
47+
# - ./influxdb3/:/tmp/:U
48+
# influxdb3-explorer:
49+
# image: influxdata/influxdb3-ui
50+
# command:
51+
# - --mode=admin
52+
# networks:
53+
# - influxdb3
54+
# ports:
55+
# - 8888:80
56+
# - 8889:8888
57+
# security_opt:
58+
# - label=disable
59+
# volumes:
60+
# - ./influxdb3-ui/:/app-root/config:ro
61+
# networks:
62+
# influxdb3:
2863
volumes:
2964
influxdb-storage:
3065
chronograf-storage:
66+
# influxdb3-storage:

docker/influxdb3-ui/config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"DEFAULT_INFLUX_SERVER": "http://influxdb3-core:8181",
3+
"DEFAULT_INFLUX_DATABASE": "testing",
4+
"DEFAULT_API_TOKEN": "apiv3_ZnQTs6VdRAHY36sviqpuBXaSwm6Jbiz-aQTKAObX607bswdTfxQKZBeP5BZ6wpuA6nU3Zthr751CaOKe71ZTcw",
5+
"DEFAULT_SERVER_NAME": "Local InfluxDB 3"
6+
}

docker/influxdb3/admin-token.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"token": "apiv3_ZnQTs6VdRAHY36sviqpuBXaSwm6Jbiz-aQTKAObX607bswdTfxQKZBeP5BZ6wpuA6nU3Zthr751CaOKe71ZTcw",
3+
"name": "example-admin-token"
4+
}

0 commit comments

Comments
 (0)