grafana-influx: add token via encrypted env
This commit is contained in:
parent
2aef0c60ff
commit
8bb58b4cc6
Binary file not shown.
|
|
@ -48,6 +48,7 @@ services:
|
|||
depends_on:
|
||||
- mosquitto
|
||||
- influxdb
|
||||
env_file: .env
|
||||
|
||||
volumes:
|
||||
influxdb-data:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
[[outputs.influxdb]]
|
||||
[[outputs.influxdb_v2]]
|
||||
urls = ["http://influxdb:8086"]
|
||||
database = "simplecloud"
|
||||
skip_database_creation = true
|
||||
bucket = "simplecloud"
|
||||
organization = "DES"
|
||||
token = "$TOKEN"
|
||||
[[inputs.mqtt_consumer]]
|
||||
servers = ["tcp://mosquitto:1883"]
|
||||
topics = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue