Skip to main content
Version: v0.16

Storage

Storage Module

The Storage module provides file storage capabilities with multiple provider support.

Features

  • Local Storage - Store files on server filesystem
  • Cloud Storage - S3, Google Cloud, Azure, Alibaba
  • File Management - Upload, download, delete
  • Access Control - Public and authenticated files
  • Folder Structure - Hierarchical organization

Supported Providers

ProviderStatus
LocalSupported
Amazon S3Supported
Google Cloud StorageSupported
Microsoft AzureSupported
Alibaba Cloud (Aliyun)Supported

Dependencies

No module dependencies.

Minimum Configuration

Requires provider configuration. Disabled by default.

Environment Variables

NameRequiredDescriptionExample
CONDUIT_SERVERYesConduit Core address0.0.0.0:55152
SERVICE_URLNoService address0.0.0.0:56154
GRPC_PORTNogRPC server port56154
GRPC_KEYNogRPC signed request protectionsomeSecret

Quick Start

  1. Configure storage provider in Admin Panel
  2. Create a container/bucket
  3. Upload files via API
curl -X POST 'http://localhost:3000/storage/upload' \
-H 'Authorization: Bearer USER_TOKEN' \
-F 'file=@/path/to/file.jpg' \
-F 'folder=images'

Next Steps