Complete Dify self-hosted guide: Docker Compose, environment variables, PostgreSQL/Redis/vector DB, HTTPS, local Ollama/vLLM integration, backup, upgrade, and data security.