-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:add apollo configuration to load env file #11210
feat:add apollo configuration to load env file #11210
Conversation
Please check the CI results. |
It's all done. |
@laipz8200 |
nope, I've re-run the tests. |
Please check the test results. |
done |
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
…ettings_source` Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Thank you very much for your continued follow-up. |
Thank you too, I learned a lot of development standards from you. |
Signed-off-by: -LAN- <[email protected]> Co-authored-by: huanshare <[email protected]> Co-authored-by: -LAN- <[email protected]>
How does this thing work? No example?? |
@luckylhb90 add new configurations shown in |
|
i'm working in docker,how it works and how i modify configuration file? No documentation provided? |
@yanxiaochuan https://docs.dify.ai/getting-started/install-self-hosted/docker-compose and https://docs.dify.ai/getting-started/install-self-hosted/environments |
Summary
Please note:dify supports loading env file configuration from the configuration-center(apollo). If you use apollo, first configure the dify configuration on apollo, and then before starting the project, configure the following parameters in the environment variables:
CONFIGURATION_TYPE=apollo,APOLLO_APP_ID=xxx,APOLLO_CLUSTER=xxx,APOLLO_CONFIG_URL=xxx,APOLLO_NAMESPACE=xxx
Close #11064
Tip
Close issue syntax:
Fixes #<issue number>
orResolves #<issue number>
, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods