Python/Flask enterprise CMS: multi-site, plugins, RBAC, OpenAPI, webhooks. Mulan PSL v2.
2.2K
A lightweight, open-source enterprise CMS built with Python / Flask. Designed as a modern alternative to traditional PHP CMSs for building corporate websites: plugin-based extensions, switchable themes, fine-grained RBAC, content workflow, audit logs, SEO-friendly URLs, object storage, and one-command Docker deployment.
Current release: v3.3.4 (bug fixes and site-group enhancements). This release fixes timeouts when publishing long Markdown content and false-positive subdomain conflicts, and allows one site to bind multiple independent domains. The release notes also cover v3.3.1–v3.3.3 (KingbaseES V9, Dameng DM8 and PolarDB for PostgreSQL 15 support).
Pulling or using latest / v3.3.4 means you accept Mulan PSL v2. If you need Apache 2.0, stay on the v3.2.6 tag. Third-party components keep their own licenses (e.g. CKEditor 5 is GPL-2.0-or-later or a CKSource commercial license; Bootstrap / jQuery / AdminLTE are MIT; Font Awesome Free is CC BY 4.0 / SIL OFL 1.1 / MIT). See LICENSE, LICENSE-APACHE-2.0 and THIRD_PARTY_NOTICES in the source repository for the full texts and required attributions.
| Tag | Purpose |
|---|---|
latest | Latest stable release (currently v3.3.4) |
v3.3.4 | Immutable release tag for v3.3.4 |
mysql | Same image, for the MySQL 8.4 compose stack |
postgresql | Same image, for the PostgreSQL 16 compose stack |
opengauss | Includes the official openGauss 7.0 Python driver |
polardb | Includes PostgreSQL 15 client tools for PolarDB for PostgreSQL |
All tags are multi-architecture images for linux/amd64 (x86_64) and linux/arm64 (aarch64). Images are built from python:3.12-slim and run gunicorn with a non-root user (uid 1000). SQLite, MySQL and PostgreSQL are supported by the standard image; openGauss, KingbaseES V9, Dameng DM8 and PolarDB for PostgreSQL 15 are also supported. Select the database via environment variables or the installer.
/api/v1/openapi.json), optional JWT-only write endpoints (disabled by default), official Python SDKdocker run -d --name zhycms \
-p 5000:5000 \
-v zhycms_instance:/app/instance \
-v zhycms_uploads:/app/app/static/uploads \
pollybird/zhycms:latest
Open http://localhost:5000 and follow the installer.
git clone https://github.com/pollybird/zhycms.git
cd zhycms
docker compose -f docker-compose.mysql.yml up -d
The compose file pulls pollybird/zhycms:mysql, starts MySQL 8.4, and runs database migrations automatically on startup. PostgreSQL 16 is available via docker-compose.postgresql.yml; openGauss, KingbaseES, Dameng and PolarDB compose files and deployment guides are included in the source repository.
For multi-process / multi-instance deployment (Redis leader election, scheduled jobs, view counters), see docs/DEPLOY_MULTI_SITE.md in the repository.
CHANGELOG.md, UPGRADE.md in the repositorydocs/API.md · Webhooks: docs/WEBHOOK.md · Plugin development: docs/PLUGIN_DEV.md/app/instance (SQLite DB, cache, backups, search index) and /app/app/static/uploads; mount both as volumes.GET /healthz returns {"status":"ok"}.Content type
Image
Digest
sha256:935ed52e3…
Size
232 MB
Last updated
about 19 hours ago
docker pull pollybird/zhycms