Files
garage/.env.sample
fauno ce56135fd4 feat: optionally specify subnets
garage may still prefer the container's private ipv4 address and will
inform it to remote nodes, preventing dialbacks.  it should be useful
for private ipv6 networks.
2026-06-22 20:05:22 -03:00

40 lines
1.1 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
# Set this to tell Garage which subnet to pick if you're using IPv6.
#PUBLIC_ADDR_SUBNET=
## 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"