Files
garage/.env.sample

32 lines
867 B
Plaintext

TYPE=garage
DOMAIN=garage.example.com
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
SECRET_RPC_SECRET_VERSION=v1 # length=32 charset=hex
# Changing the replication factor after initial deployment is not
# supported and requires deleting the existing cluster layout metadata.
REPLICATION_FACTOR=2
DATABASE_ENGINE=lmdb
CONSISTENCY_MODE=consistent
METADATA_FSYNC=false
DATA_FSYNC=false
DISABLE_SCRUB=false
BLOCK_SIZE=1MiB # only increase if there is a fast network connection between nodes
## Bootstrap this node in an existing Garage cluster
#BOOTSTRAP_HOST=""
#BOOTSTRAP_ID=""
#BOOTSTRAP_PORT=3901
# Use a directory on the host instead of a docker volume for storage
#LOCAL_FOLDER_META=/path/on/docker/host
#LOCAL_FOLDER_DATA=/path/on/docker/host
## Enable Full Data Backups (not just metadata)
# COMPOSE_FILE="$COMPOSE_FILE:compose.fullbackup.yml"