add .env.example (#4)

This commit is contained in:
bitful-pannul 2023-10-03 12:25:47 +03:00 committed by GitHub
parent e45cb570ba
commit dc3fb2a0a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.env.example Normal file
View File

@ -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