[PR #107] [MERGED] update: Add Support for Custom S3 Endpoints to Enhance Compatibility with S3-Compatible Services. #316

Closed
opened 2026-02-16 01:15:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/107
Author: @Jam804
Created: 3/13/2025
Status: Merged
Merged: 3/19/2025
Merged by: @Yeuoly

Base: mainHead: main


📝 Commits (4)

  • d055558 optimization: Fix CROSSSLOT Error in Redis Commands
  • 01734eb Merge branch 'langgenius:main' into main
  • 7bcdcd8 Merge branch 'langgenius:main' into main
  • 2618861 update: Add Support for Custom S3 Endpoints to Enhance Compatibility with S3-Compatible Services.

📊 Changes

4 files changed (+65 additions, -35 deletions)

View changed files

📝 .env.example (+4 -1)
📝 internal/oss/s3/s3_storage.go (+51 -28)
📝 internal/server/server.go (+5 -3)
📝 internal/types/app/config.go (+5 -3)

📄 Description

Title
Add Support for Custom S3 Endpoints to Enhance Compatibility with S3-Compatible Services

Description
Background
The current implementation is tightly coupled with AWS S3, limiting the application to only use Amazon's S3 service. This change aims to extend compatibility to other S3-compatible storage solutions, such as MinIO, Wasabi, and DigitalOcean Spaces, by allowing the configuration of custom S3 endpoints.

Changes Made

New Features:

Added support for custom S3 endpoints, enabling users to specify a custom S3 service URL through configuration files or environment variables.
Extended configuration options to include endpoint_url, access_key, and secret_key.
Code Modifications:

Updated the S3 client initialization to accept custom configuration parameters.

Testing:

Conducted integration tests across multiple S3-compatible services to ensure compatibility and functionality.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/107 **Author:** [@Jam804](https://github.com/Jam804) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`d055558`](https://github.com/langgenius/dify-plugin-daemon/commit/d055558d31bbafb560d22024e7df57f9e140876f) optimization: Fix CROSSSLOT Error in Redis Commands - [`01734eb`](https://github.com/langgenius/dify-plugin-daemon/commit/01734ebd04e55ec634b14eff6446b6764fa2e9b2) Merge branch 'langgenius:main' into main - [`7bcdcd8`](https://github.com/langgenius/dify-plugin-daemon/commit/7bcdcd8307a3412a1b69178855b348cb5386a0fc) Merge branch 'langgenius:main' into main - [`2618861`](https://github.com/langgenius/dify-plugin-daemon/commit/261886167be1540a1b5ab62238fe3aba24c74e64) update: Add Support for Custom S3 Endpoints to Enhance Compatibility with S3-Compatible Services. ### 📊 Changes **4 files changed** (+65 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+4 -1) 📝 `internal/oss/s3/s3_storage.go` (+51 -28) 📝 `internal/server/server.go` (+5 -3) 📝 `internal/types/app/config.go` (+5 -3) </details> ### 📄 Description Title Add Support for Custom S3 Endpoints to Enhance Compatibility with S3-Compatible Services Description Background The current implementation is tightly coupled with AWS S3, limiting the application to only use Amazon's S3 service. This change aims to extend compatibility to other S3-compatible storage solutions, such as MinIO, Wasabi, and DigitalOcean Spaces, by allowing the configuration of custom S3 endpoints. Changes Made New Features: Added support for custom S3 endpoints, enabling users to specify a custom S3 service URL through configuration files or environment variables. Extended configuration options to include endpoint_url, access_key, and secret_key. Code Modifications: Updated the S3 client initialization to accept custom configuration parameters. Testing: Conducted integration tests across multiple S3-compatible services to ensure compatibility and functionality. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:31 -05:00
yindo closed this issue 2026-02-16 01:15:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#316