References
git clone https://github.com/langgenius/dify.git
cd dify/docker
cp .env.example .env
docker compose up -d
# Reset the password of the admin account
# ref. https://docs.dify.ai/getting-started/install-self-hosted/faqs#id-4.-how-to-reset-the-password-of-the-admin-account
docker exec -it docker-api-1 flask reset-password
Ollama
# Run the Ollama server locally
export OLLAMA_HOST=http://localhost:11434
ollama serve
# Specify the base url for Ollama: `http://host.docker.internal:11434`
# ref. https://qiita.com/Tadataka_Takahashi/items/ba832511bd4fd5cd46f1