Dify integration
The root Docker Compose file supports source deployment, while the deploy directory targets released images.
Zhixing Gateway is a Dify-based local knowledge-base Q&A gateway: Gateway APIs, Admin Web, and assistant management make private knowledge bases, model connections, and Q&A entry points deployable in your own environment.
Teams may already have documents, Dify apps, or local knowledge bases, but still need a deployable gateway layer to manage assistants and expose Q&A access cleanly.
The root Docker Compose file supports source deployment, while the deploy directory targets released images.
The Gateway exposes API docs and runs migrations plus idempotent seed logic on startup.
Admin Web is separated from the Gateway backend so administrators can manage gateway configuration in their own environment.
Assistant management organizes Dify knowledge Q&A entry points into configurable workflows.
git clone https://github.com/Jaycelu/zhixing.git
cd zhixingcp .env.example .env
docker compose up -d --buildGateway API: http://127.0.0.1:8000
Gateway Docs: http://127.0.0.1:8000/docs
Admin Web: http://127.0.0.1:8080cd deploy
cp .env.example .env
docker compose up -dPublished:2026-05-27
Content updated:2026-07-14
No. It is a deployable gateway and management entry for existing Dify applications and knowledge bases.
The repository provides Docker Compose workflows for source and delivery deployments.
Gateway, Admin, and connection settings run in the user's own environment.

