Closed loks666 closed 5 months ago
The differences you're observing between your Docker Compose deployed version of Dify and the cloud.dify.ai version are primarily due to the distinct configurations and features that are enabled in the commercial (cloud) version compared to the open-source (self-hosted) version. The cloud version includes configurations and features, such as OAuth integration and additional functionalities, that are not present or are disabled by default in the open-source version.
In the Dify repository, the api/config.py
file contains different configurations for the self-hosted and cloud versions, indicating that the cloud version might have additional code or services enabling a broader set of functionalities. For example, features like OAuth authentication with providers like GitHub and Google, and other cloud-specific features, are configured in the CloudEditionConfig
class, which are not set up in the base Config
class used for the self-hosted version.
Moreover, environment variables like HOSTED_OPENAI_TRIAL_ENABLED
, BILLING_ENABLED
, and CAN_REPLACE_LOGO
are set to restrictive defaults in the self-hosted version, which might explain why certain features available on cloud.dify.ai are not visible in your deployment.
This situation is not an error in your deployment method but a result of the inherent differences between the configurations of the open-source and commercial versions. For more detailed configurations and to understand how you might enable certain features in your self-hosted version, you can refer to the api/config.py
file and consider adjusting the .env
or docker-compose.yml
files based on the features you wish to enable.
For further insights, you might find the discussions in issues like Local is not same to Cloud and 为什么我docker部署最新0.3.5版本 on the Dify GitHub repository helpful. These discussions cover differences between the self-hosted and cloud versions, focusing on account login, model providers, and the pricing section, which are configurable in the self-hosted version.
Suggest use docker ps
to see if you have downloaded the right image, which should be v0.6.2. If not, try to read the release logs to upgrade from the older version.
fixed,thanks you~
Self Checks
Provide a description of requested docs changes
why my page only have assistant and text generate? but in the https://cloud.dify.ai/,pages is have others option?for example like a Agent and wordflow? I wanna know this question just is the difference between open source and commercial?or my deploy method has some question?