Favicon of RustFS

RustFS

Scale data infrastructure with a memory-safe, distributed storage system. Achieve limitless scalability, full S3 compatibility, and multi-cloud redundancy.

Built on a memory-safe architecture, this high-performance distributed storage system serves as a robust, Apache 2.0 licensed alternative to traditional object storage solutions. It delivers maximum throughput with zero garbage collection, making it highly optimized for demanding AI and machine learning pipelines. By providing a consistent, portable interface, it allows you to run data applications anywhere from edge devices to public and private clouds without altering your code. Key advantages include:

  • Limitless Scalability: A zero-master architecture and intelligent data sharding ensure your storage capacity expands infinitely as data volume grows.
  • True Multi-Cloud Redundancy: Mitigate single-provider failures with active-active cross-region replication.
  • Enterprise-Grade Security: Ensure data integrity with WORM compliance, object locking, and high-performance encryption.
  • Full S3 Compatibility: Integrate effortlessly with over 1,500 applications.

Directory Structure

rustfs
data
logs
.env
docker-compose.yml

docker-compose.yml

services:
  rustfs:
    image: rustfs/rustfs:latest
    container_name: rustfs-server
    restart: unless-stopped
    security_opt:
      - "no-new-privileges:true"
    ports:
      - "127.0.0.1:9000:9000"
      - "127.0.0.1:9001:9001"
    environment:
      - RUSTFS_SERVER_DOMAINS=rustfs.example.com
      - RUSTFS_VOLUMES=/data/rustfs0
      - RUSTFS_ADDRESS=0.0.0.0:9000
      - RUSTFS_CONSOLE_ADDRESS=0.0.0.0:9001
      - RUSTFS_CONSOLE_ENABLE=true
      - RUSTFS_CORS_ALLOWED_ORIGINS=*
      - RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS=*
      - RUSTFS_ACCESS_KEY=imlala
      - RUSTFS_SECRET_KEY=setyoursecretkey
      - RUSTFS_REGION=auto
      - RUSTFS_OBS_LOGGER_LEVEL=info
      - RUSTFS_OBS_LOG_DIRECTORY=/app/logs
    volumes:
      - ./data:/data
      - ./logs:/app/logs
    healthcheck:
      test: ["CMD", "sh", "-c", "curl -f http://localhost:9000/health && curl -f http://localhost:9001/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s

.env

RUSTFS_SECRET_KEY=setyoursecretkey

Share:

Ad
Favicon

 

  
 

Similar to RustFS

Favicon

 

  
  
Favicon

 

  
  
Favicon