.env configuration pull from "configuration center" #6924

Closed
opened 2026-02-21 18:17:58 -05:00 by yindo · 1 comment
Owner

Originally created by @huanshare on GitHub (Nov 25, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

  Now the dify project API configuration is written in the .env file,but in the enterprise, the middleware-related passwords are strictly confidential. 
 Can we put the .env configuration in the "configuration center" instead of writing it in the project .env file? When the project starts, we can first pull the configuration, write it to the .env file, and then load subsequent operations.
 Just like using 'apollo' or 'nacos' to manage project configuration.

2. Additional context or comments

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @huanshare on GitHub (Nov 25, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Now the dify project API configuration is written in the .env file,but in the enterprise, the middleware-related passwords are strictly confidential. Can we put the .env configuration in the "configuration center" instead of writing it in the project .env file? When the project starts, we can first pull the configuration, write it to the .env file, and then load subsequent operations. Just like using 'apollo' or 'nacos' to manage project configuration. ### 2. Additional context or comments ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:17:58 -05:00
yindo closed this issue 2026-02-21 18:17:58 -05:00
Author
Owner

@shiyiyue1102 commented on GitHub (Mar 24, 2025):

Can DIFY integrate Nacos as an external configuration center?

@shiyiyue1102 commented on GitHub (Mar 24, 2025): Can DIFY integrate Nacos as an external configuration center?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6924