docs: Improve env example

- Remove `-` so you can use your editor's uncomment feature
- Add the env vars to customize the server addresses
- Document a bit more
pull/24376/head
Carol (Nichols || Goulding) 2020-11-10 11:22:39 -05:00
parent 0532821ed9
commit 920fd6df3f
1 changed files with 13 additions and 8 deletions

View File

@ -1,15 +1,20 @@
# This is an example .env file showing all of the environment variables that can
# be configured within the project.
#
#- INFLUXDB_IOX_DB_DIR=/home/user/.influxdb_iox
#- TEST_INFLUXDB_IOX_DB_DIR=/home/user/.influxdb_iox
# Where to store files on disk:
# INFLUXDB_IOX_DB_DIR=/home/user/.influxdb_iox
# TEST_INFLUXDB_IOX_DB_DIR=/home/user/.influxdb_iox
#
# Addresses for the server processes:
# INFLUXDB_IOX_BIND_ADDR=127.0.0.1:8080
# INFLUXDB_IOX_GRPC_BIND_ADDR=127.0.0.1:8082
#
# If using Amazon S3 as an object store:
#- AWS_ACCESS_KEY_ID=access_key_value
#- AWS_SECRET_ACCESS_KEY=secret_access_key_value
#- AWS_DEFAULT_REGION=us-east-2
#- AWS_S3_BUCKET_NAME=bucket_name
# AWS_ACCESS_KEY_ID=access_key_value
# AWS_SECRET_ACCESS_KEY=secret_access_key_value
# AWS_DEFAULT_REGION=us-east-2
# AWS_S3_BUCKET_NAME=bucket_name
#
# If using Google Cloud Storage as an object store:
#- GCS_BUCKET_NAME=bucket_name
#- SERVICE_ACCOUNT=/path/to/auth/info.json
# GCS_BUCKET_NAME=bucket_name
# SERVICE_ACCOUNT=/path/to/auth/info.json