Some checks failed
Build & Deploy to K8s / build-and-deploy (push) Has been cancelled
Touch all Dockerfiles to force Gitea Actions to detect changes and build all 25 backend services + 1 frontend via Kaniko → Harbor. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Storage Service
A .NET 10 microservice for file storage management supporting MinIO and Aliyun OSS.
Documentation
Quick Links
Features
- Multi-provider Storage: MinIO (S3-compatible) and Aliyun OSS
- Runtime Provider Switching: Switch providers via environment variable
- Complete File CRUD: Upload, download, delete, list files
- Pre-signed URLs: Secure time-limited download/upload URLs
- User Quotas: Storage capacity and file count limits
- Folder Management: Logical folder organization (database-based)
- File Versioning: Track and restore file versions
- File Sharing: Share links with password, expiration, download limits
- Inter-service Auth: JWT validation via IAM Service
Tech Stack
- .NET 10
- PostgreSQL
- MinIO / Aliyun OSS
- Redis (caching)
- RabbitMQ (events)
Quick Start
cd services/storage-service-net
# Run with Docker
docker-compose up -d
# Or run locally
dotnet run --project src/StorageService.API
Access: http://localhost:5002/swagger
Project Structure
services/storage-service-net/
├── src/
│ ├── StorageService.API/ # Controllers, Commands, Queries
│ ├── StorageService.Domain/ # Entities, Repository interfaces
│ └── StorageService.Infrastructure/# Providers, DbContext, Repositories
├── tests/
│ ├── StorageService.UnitTests/
│ └── StorageService.FunctionalTests/
├── docs/
│ ├── en/ # English documentation
│ └── vi/ # Vietnamese documentation
└── README.md
License
MIT