Favicon of Garage

Garage

Build your own resilient object storage for self-hosting. Runs on any hardware, offers S3 compatibility, and deploys as a single dependency-free binary.

Create your own distributed object storage service designed specifically for self-hosting. This tool is lightweight, efficient, and operator-friendly, shipping as a single, dependency-free binary that runs on any Linux distribution. It's built for high resiliency, capable of running over the internet across multiple datacenters without a dedicated backbone, protecting your data from network latency and disk failures.

One of its key advantages is its low system requirements, allowing you to build a cluster with whatever hardware you have available, even second-hand machines. The minimum requirements are:

  • CPU: Any x86_64, ARMv7, or ARMv8
  • RAM: 1 GB
  • Disk: At least 16 GB
  • Network: 200ms latency or less, 50 Mbps or more

Data is kept safe through replication, with each chunk of data stored in 3 different zones. By implementing the Amazon S3 API, it ensures immediate compatibility with a vast ecosystem of existing applications.

Directory Structure

garage
config
data
.env
docker-compose.yml

docker-compose.yml

services:
  garage:
    image: dxflrs/garage:latest
    container_name: garage
    restart: unless-stopped
    ports:
      - "3900:3900"
      - "3901:3901"
      - "3902:3902"
      - "3903:3903"
    volumes:
      - ./config:/etc/garage
      - ./data:/var/lib/garage
    environment:
      - GARAGE_RPC_SECRET=${GARAGE_RPC_SECRET}
    command: server

.env

GARAGE_RPC_SECRET=your_super_secret_rpc_key_here_must_be_secure

Share:

Ad
Favicon

 

  
 

Similar to Garage

Favicon

 

  
  
Favicon

 

  
  
Favicon