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:
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: 40sRUSTFS_SECRET_KEY=setyoursecretkeyAuto-fetched 41 minutes ago
Auto-fetched 41 minutes ago