
Dify is an open-source LLM app development platform. Its intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
This template is limited to Dify version 1.x.
You can safely update the container image during the updates of this major version (just changing the image tags).
If you want to upgrade to a higher version like V2 in one day. Please back up your data in advance and contact zeabur staff or carefully review the updated tutorial.
We do not guarantee that this template will be available during V2.
To deploy Dify, click the "Deploy" button in the top-right corner, and fill in the required domain name. Once deployed, you can access your Dify app at https://<your-domain>.zeabur.app.
api, worker, web, plugin_daemon and sandbox are the microservices of Dify.nginx is the gateway of Dify. It integrates the microservices to a single host. In another words, it is the entry point of your Dify app.Refer to https://docs.dify.ai/getting-started/install-self-hosted/environments for the configurable variables, which are primarily set in the api service.
The default upload file size limit is 15 MB. You can change this limit by modifying the client_max_body_size directive in the configuration file located at /etc/nginx/nginx.conf for the nginx service. The value should be a string with a unit (e.g., 15M for 15 MB).
Additionally, you may need to set the UPLOAD_FILE_SIZE_LIMIT variable in the environment of the api service to match this value. Ensure that this value is the same as the client_max_body_size directive in the /etc/nginx/nginx.conf configuration (e.g., 15M for 15 MB).
dependencies/python-requirements.txt in the "Settings" tab of the "Sandbox" service.