dify-docs-env-vars
Installation
SKILL.md
Dify Environment Variable Documentation
Before Starting
Read these shared guides:
writing-guides/style-guide.mdwriting-guides/formatting-guide.mdwriting-guides/glossary.md
Source of Truth: docker/.env.example + docker/envs/**/*.env.example
After Dify PR #31586, the supported self-host knob surface is split across:
docker/.env.example— essential startup valuesdocker/envs/**/*.env.example— categorized optional vars (core-services, databases, infrastructure, security, vectorstores, middleware)
The verifier reads both. Pass --env-example docker/.env.example --env-example docker/envs (the second arg is a directory; the verifier globs **/*.env.example recursively).