8 Commits

Author SHA1 Message Date
f
1ebc2c2eca feat: set container hostname to domain
this allows finding the hostname on `garage status`
2026-04-21 20:47:45 -03:00
f
aded3647a9 fix: upgrade to 2.3.0 2026-04-17 11:23:30 -03:00
f
24c457a5d4 fix: proper length for rpc secret 2026-04-17 03:22:36 -03:00
22e218107e Merge pull request 'feat: support sqlite and other database engines' (#6) from sqlite into main
Reviewed-on: #6
2026-04-05 23:02:32 +00:00
05c953cd07 use lmdb by default if DATABASE_ENGINE not defined 2026-04-04 16:22:16 -04:00
f
eb0079acf5 feat: support sqlite and other database engines
docs adverts lmdb can become corrupted on power outages

https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#db_engine
2026-04-03 12:02:16 -03:00
74a86e284e Merge pull request 'chore: Configure Renovate' (#2) from renovate/configure into main
Reviewed-on: #2
2026-03-24 22:49:26 +00:00
45ad9cd308 Add renovate.json 2026-03-10 17:41:28 +00:00
5 changed files with 14 additions and 6 deletions

View File

@ -5,12 +5,13 @@ DOMAIN=garage.example.com
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
SECRET_RPC_SECRET_VERSION=v1 # length=32 charset=hex
SECRET_RPC_SECRET_VERSION=v1 # length=64 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
@ -27,4 +28,4 @@ BLOCK_SIZE=1MiB # only increase if there is a fast network connection between no
#LOCAL_FOLDER_DATA=/path/on/docker/host
## Enable Full Data Backups (not just metadata)
# COMPOSE_FILE="$COMPOSE_FILE:compose.fullbackup.yml"
# COMPOSE_FILE="$COMPOSE_FILE:compose.fullbackup.yml"

View File

@ -1 +1 @@
export GARAGE_CONF_VERSION=v4
export GARAGE_CONF_VERSION=v5

View File

@ -3,7 +3,8 @@ version: "3.8"
services:
app:
image: dxflrs/garage:v2.1.0
image: dxflrs/garage:v2.3.0
hostname: "${DOMAIN}"
configs:
- source: garage_conf
target: /etc/garage.toml

View File

@ -1,6 +1,6 @@
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
db_engine = "lmdb"
db_engine = "{{ if env "DATABASE_ENGINE" }}{{ env "DATABASE_ENGINE" }}{{ else }}lmdb{{ end }}"
metadata_auto_snapshot_interval = "6h"
replication_factor = {{ env "REPLICATION_FACTOR" }}
@ -26,4 +26,4 @@ bootstrap_peers = [
[s3_api]
s3_region = "garage"
api_bind_addr = "[::]:3900"
root_domain = ".s3.garage"
root_domain = ".s3.garage"

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}