Garage S3 Docker image, but with an OS (Ubuntu)
2.3K
Garage S3 Docker image, but with an OS
https://garagehq.deuxfleurs.fr/
Run the script below to generate your garage.toml config.
cat > garage.toml <<EOF
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
db_engine = "lmdb"
metadata_auto_snapshot_interval = "24h"
replication_factor = 1
block_size = "1M"
compression_level = 1
[s3_api]
s3_region = "garage"
api_bind_addr = "[::]:3900"
root_domain = ".s3.garage.localhost"
rpc_bind_addr = "[::]:3901"
rpc_public_addr = "127.0.0.1:3901"
rpc_secret = "$(openssl rand -hex 32)"
[admin]
api_bind_addr = "[::]:3903"
admin_token = "$(openssl rand -base64 32)"
metrics_token = "$(openssl rand -base64 32)"
EOF
Then start with
docker run \
--name garage \
-p 3900:3900 -p 3901:3901 -p 3903:3903 \
-v /path/to/garage.toml:/etc/garage.toml \
-v /path/to/garage/meta:/var/lib/garage/meta \
-v /path/to/garage/data:/var/lib/garage/data \
lousando/garage:v2.1.0
Content type
Image
Digest
sha256:687cb51e9…
Size
27.4 MB
Last updated
6 days ago
docker pull lousando/garage