mirror of
https://gitverse.ru/kpa39l/garage-s3-cluster.git
synced 2026-09-29 09:15:07 +00:00
10 lines
423 B
Bash
10 lines
423 B
Bash
#!/usr/bin/env bash
|
|
# Garage cluster health: node table + block manager + usage.
|
|
# Works from bigbox; the dxflrs/garage:v2.1.0 image is scratch (no shell), so the
|
|
# CLI is invoked via --entrypoint /garage with config + meta mounted.
|
|
set -euo pipefail
|
|
GE=/opt/garage
|
|
exec docker run --rm \
|
|
-v "$GE/garage.toml:/etc/garage.toml:ro" \
|
|
-v "$GE/meta:/var/lib/garage/meta" \
|
|
--entrypoint /garage dxflrs/garage:v2.1.0 status |