docs/ADVANCED_SETUP.md
If you need to customize the configuration, edit docker/.env. The essential startup defaults live in docker/.env.example, and optional advanced variables are split under docker/envs/ by theme. After making any changes, re-run docker compose up -d from the docker directory. You can find the full list of available environment variables here.
Import the dashboard to Grafana, using Dify's PostgreSQL database as data source, to monitor metrics in granularity of apps, tenants, messages, and more.
If you'd like to configure a highly available setup, there are community-contributed Helm Charts and YAML files which allow Dify to be deployed on Kubernetes.
Deploy Dify to Cloud Platform with a single click using terraform
Deploy Dify to AWS with CDK
Quickly deploy Dify to Alibaba cloud with Alibaba Cloud Computing Nest
One-Click deploy Dify to Alibaba Cloud with Alibaba Cloud Data Management
One-Click deploy Dify to AKS with Azure Devops Pipeline Helm Chart by @LeoZhang
Deploy Dify with one click using the Sealos App Store