From dc3fb2a0a9b85917f5d9beb6e72ac640db85ca64 Mon Sep 17 00:00:00 2001 From: bitful-pannul <109035169+bitful-pannul@users.noreply.github.com> Date: Tue, 3 Oct 2023 12:25:47 +0300 Subject: [PATCH] add .env.example (#4) --- .env.example | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..fe0e4c71 --- /dev/null +++ b/.env.example @@ -0,0 +1,19 @@ +### node filesystem config, adjust according to your needs. +### note, will run with default values if no .env is found. + +### for example, if you use remote s3, you might want to set chunk_size to 5mb, and adjust flush_to_cold_interval + +### Default values automatically set (s3 defaults to None) + +# MEM_BUFFER=5242880 # 5mb +# CHUNK_SIZE=262144 # 256kb +# FLUSH_TO_COLD_INTERVAL=60 # 60s +# ENCRYPTION=true # true +# CLOUD_ENABLED=false # false, controls whether new writes will be to s3 or local + +### Example s3 config +# S3_ACCESS_KEY=minioadmin +# S3_SECRET__KEY=minioadmin +# S3_REGION=eu-north-1 +# S3_BUCKET=uqbar +# S3_ENDPOINT=http://localhost:9000