|
1 |
| -#INFLUXDB_DB=mydb |
2 |
| -INFLUXDB_DATA_ENGINE=tsm1 |
3 |
| -INFLUXDB_REPORTING_DISABLED=false |
4 |
| -#INFLUXDB_HTTP_AUTH_ENABLED=true |
5 |
| -INFLUXDB_ADMIN_ENABLED=true |
6 |
| -#INFLUXDB_ADMIN_USER=myadminuser |
7 |
| -#INFLUXDB_ADMIN_PASSWORD=myadminpassword |
8 |
| -INFLUXDB_USER=nodered |
9 |
| -INFLUXDB_USER_PASSWORD=nodered |
10 |
| -#INFLUXDB_READ_USER=myreaduser |
11 |
| -#INFLUXDB_READ_USER_PASSWORD=myreadpassword |
12 |
| -#INFLUXDB_WRITE_USER=mywriteuser |
13 |
| -#INFLUXDB_WRITE_USER_PASSWORD=mywritepassword |
| 1 | +# InfluxDB's configuration variables (including how each CONFIGURATION |
| 2 | +# variable maps to an ENVIRONMENT variable for use in this file) can |
| 3 | +# be found at: |
| 4 | +# |
| 5 | +# https://docs.influxdata.com/influxdb/latest/administration/config/#configuration-settings |
| 6 | +# |
| 7 | +# The URL was correct as at 2020-10-11 but is subject to change. |
| 8 | +# |
| 9 | +# After you make a change in this file, you bring it into effect by: |
| 10 | +# |
| 11 | +# $ cd ~/IOTstack |
| 12 | +# $ docker-compose up -d influxdb |
| 13 | + |
| 14 | + |
| 15 | +# ---------------- some selected environment variables ---------------- |
| 16 | + |
| 17 | + |
| 18 | +# enable INFLUXDB_HTTP_FLUX_ENABLED to support Flux queries |
| 19 | + |
| 20 | +INFLUXDB_HTTP_FLUX_ENABLED=false |
| 21 | + |
| 22 | + |
| 23 | +# --------------------------------------------------------------------- |
| 24 | + |
| 25 | + |
| 26 | +# enable INFLUXDB_HTTP_AUTH_ENABLED to enforce authentication for access |
| 27 | +# via HTTP and HTTPS. Node-Red, Grafana and the "influx" command line |
| 28 | +# interface all use HTTP/S so enabling this option affects pretty much |
| 29 | +# everything. Only enable this option AFTER you have set up credentials |
| 30 | +# for your database administrator, like this: |
| 31 | +# |
| 32 | +# CREATE USER "dba" WITH PASSWORD 'supremo' WITH ALL PRIVILEGES |
| 33 | + |
| 34 | +INFLUXDB_HTTP_AUTH_ENABLED=false |
| 35 | + |
| 36 | + |
| 37 | +# if INFLUXDB_HTTP_AUTH_ENABLED=true then INFLUX_USERNAME and |
| 38 | +# INFLUX_PASSWORD supply database administrator (DBA) credentials to |
| 39 | +# the "influx" command line interface. They serve no other purpose. They |
| 40 | +# are NOT general-purpose credentials for use in NodeRed or Grafana etc. |
| 41 | +# If INFLUXDB_HTTP_AUTH_ENABLED is enabled but INFLUX_USERNAME & |
| 42 | +# INFLUX_PASSWORD do not match the values on the CREATE USER statement |
| 43 | +# then you will need to authenticate when you start the "influx" CLI. |
| 44 | + |
| 45 | +INFLUX_USERNAME=dba |
| 46 | +INFLUX_PASSWORD=supremo |
| 47 | + |
| 48 | + |
| 49 | +# --------------------------------------------------------------------- |
| 50 | + |
| 51 | + |
| 52 | +# enable UDP support |
| 53 | + |
| 54 | +INFLUXDB_UDP_ENABLED=false |
| 55 | + |
| 56 | + |
| 57 | +# if INFLUXDB_UDP_ENABLED=true then InfluxDB listens for line protocol |
| 58 | +# data on UDP port 8086. In the context below, the IP address "0.0.0.0" |
| 59 | +# means "this host"; analogous to the way "255.255.255.255" means |
| 60 | +# "all hosts" |
| 61 | + |
| 62 | +INFLUXDB_UDP_BIND_ADDRESS=0.0.0.0:8086 |
| 63 | + |
| 64 | +# Remember that you will need a matching "ports" definition in your |
| 65 | +# docker-compose.yml. For example: |
| 66 | +# |
| 67 | +# - "8086:8086/udp" |
| 68 | +# |
| 69 | +# Also remember that, just because InfluxDB running inside the container |
| 70 | +# is listening on UDP/8086, does NOT mean that the external port MUST be |
| 71 | +# the same. It could just as easily be "8089:8086/udp". Keep that in |
| 72 | +# mind when you set up the sending process. |
| 73 | + |
| 74 | + |
| 75 | +# if INFLUXDB_UDP_ENABLED=true then data will be written to the |
| 76 | +# database named "udp". You MUST create this database, by hand via |
| 77 | +# the "influx CLI", before you start sending data, as in: |
| 78 | +# |
| 79 | +# CREATE DATABASE udp |
| 80 | + |
| 81 | +INFLUXDB_UDP_DATABASE=udp |
| 82 | + |
| 83 | + |
| 84 | +# --------------------------------------------------------------------- |
0 commit comments