10 Sentinels Active
SENTINEL 01: [AEGIS] AUDITING POCKETBASE INFRASTRUCTURE...
Back to Self-Hosted Stacks
Garage

Deploy Garage

An open-source distributed object storage service tailored for self-hosting.

Quick Start

1

Create a directory

mkdir garage-self-hosted && cd garage-self-hosted
2

Create config file

Copy the content from the Config tab below into a file named docker-compose.yml

3

Deploy

docker compose up -d
Fast Track

Deploy Garage in Minutes

Use our optimized Docker templates to deploy Garage on any cloud provider. Get $200 in free credit to start on DigitalOcean.

Start with free creditDeploy on DigitalOcean
$200

Metadata

License
AGPL-3.0
Language
Rust
Last Updated
10/12/2026
Category
Cloud Infrastructure

Configuration

yaml

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 🚀 BUILT & MAINTAINED BY THE ALTSTACK
# 🌍 https://thealtstack.com
# 💡 Open-source deployment templates for modern self-hosting.
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

# Garage: Open-source distributed object storage (S3-compatible)
# Perfect replacement for MinIO with true AGPL open-source licensing.

version: '3.8'

services:
  garage:
    image: dxflrs/garage:v1.0.1
    container_name: garage
    restart: unless-stopped
    ports:
      - "3900:3900" # S3 API
      - "3901:3901" # Web API
      - "3902:3902" # Admin API
      - "3903:3903" # Cluster peering (rpc)
    environment:
      - GARAGE_RPC_BIND_ADDR=[::]:3903
      - GARAGE_RPC_PUBLIC_ADDR=127.0.0.1:3903
      - GARAGE_RPC_SECRET=${GARAGE_RPC_SECRET:-YOUR_SECURE_RPC_SECRET_HERE}
      - GARAGE_S3_API_BIND_ADDR=[::]:3900
      - GARAGE_S3_WEB_BIND_ADDR=[::]:3901
      - GARAGE_ADMIN_API_BIND_ADDR=[::]:3902
      - GARAGE_DATA_DIR=/var/lib/garage/data
      - GARAGE_META_DIR=/var/lib/garage/meta
    volumes:
      - garage_data:/var/lib/garage/data
      - garage_meta:/var/lib/garage/meta

volumes:
  garage_data:
  garage_meta:

Community Notes

Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.

No community notes yet. Be the first to add context.