Files
garage/.env.sample
fauno 7d36be68b0
continuous-integration/drone/pr Build is failing
feat: multi-hdd
closes #5
2026-11-04 09:30:42 -03:00

44 lines
1.3 KiB
Bash

TYPE=garage
DOMAIN=garage.example.com
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
SECRET_RPC_SECRET_VERSION=v1 # length=64 charset=hex
SECRET_ADMIN_TOKEN_SECRET_VERSION=v1 # length=64 charset=hex
SECRET_METRICS_TOKEN_SECRET_VERSION=v1 # length=64 charset=hex
#COMPOSE_FILE="$COMPOSE_FILE:compose.monitoring.yml"
#MONITORING_ENABLED=true
# 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
# Pass an array of directories as a string or a directory other than the
# default. Mount different disks under LOCAL_FOLDER_DATA for Garage to
# have access to them.
#
# https://garagehq.deuxfleurs.fr/documentation/operations/multi-hdd/
#DATA_DIRS='[{path="/var/lib/garage/meta",capacity="1T"}]'
## Enable Full Data Backups (not just metadata)
# COMPOSE_FILE="$COMPOSE_FILE:compose.fullbackup.yml"