web/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NEXT_PUBLIC_DEPLOY_ENV
For production release, change this to PRODUCTION
NEXT_PUBLIC_EDITION
The deployment edition, SELF_HOSTED
NEXT_PUBLIC_API_PREFIX
The base URL of console application, refers to the Console base URL of WEB service if console domain is different from api or web app…
NEXT_PUBLIC_PUBLIC_API_PREFIX
The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from console or api domain. example:…
NEXT_PUBLIC_SENTRY_DSN
brew install flyctl && fly launch --from https://github.com/dontriskit/dify
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/dontriskit/dify
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/dontriskit/dify