Free open-source DB tool: access control, data masking, SQL audit, CI/CD, cross-region deployment.
2.7K
CloudDM Alone is the standalone image of CloudDM. It combines the web console, execution capability, and metadata database runtime into a single container, which makes it suitable for local evaluation, PoC usage, individual users, small-team trials, and local integration testing.
[Website] [Documentation] [Blog] [Gitee [Github
CloudDM is a free and open-source database management platform for team collaboration. It provides access control, data masking, SQL auditing, CI/CD, and cross-region deployment capabilities.
It is not only a SQL query tool, and it is not only a database operations tool. It brings the following capabilities into one web product:
If you need a database platform that can be adopted directly rather than just a lightweight command-line client, CloudDM is a better fit.
CloudDM uses the business-friendly Apache 2.0 license.
docker run -d --name cgdm-alone -p 8222:8222 bladepipe/cgdm-alone:3.0.7
For mainland China network environments:
docker run -d --name cgdm-alone -p 8222:8222 \
cloudcanal-registry.cn-shanghai.cr.aliyuncs.com/clougence/cgdm-alone:3.0.7
After the container starts, open:
http://localhost:8222
On first access, the initialization wizard opens. The default account is
[email protected]
To persist data to host directories:
mkdir -p /data/cgdm-alone/conf
mkdir -p /data/cgdm-alone/logs
mkdir -p /data/cgdm-alone/data
mkdir -p /data/cgdm-alone/mysql
docker run -d \
--name cgdm-alone \
-p 8222:8222 \
-v /data/cgdm-alone/conf:/root/cgdm/alone/conf \
-v /data/cgdm-alone/logs:/root/cgdm/alone/logs \
-v /data/cgdm-alone/data:/root/cgdm/alone/data \
-v /data/cgdm-alone/mysql:/var/lib/mysql \
bladepipe/cgdm-alone:3.0.7
If you want to switch to an external MySQL instance, add MYSQL_EMBEDDED=false to the command and provide DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD.
| Environment Variable | Default | Purpose |
|---|---|---|
APP_WEB_PORT | 8222 | Web console port, mapped to server.port |
APP_WEB_JWT | Built-in image default | JWT secret. Use a long random string in production |
APP_SERVE_NAME | 127.0.0.1 | Internal service address, mapped to clouddm.rsocket.dns |
APP_SERVE_PORT | 8008 | Internal service port, mapped to clouddm.rsocket.console.port |
| Environment Variable | Default | Purpose |
|---|---|---|
MYSQL_EMBEDDED | true | Whether to enable embedded MySQL. true uses built-in MySQL, false uses an external MySQL |
MYSQL_ROOT_PASSWORD | 123456 | Root password of the embedded MySQL |
MYSQL_DATADIR | /var/lib/mysql | Embedded MySQL data directory |
MYSQL_SOCKET | /run/mysqld/mysqld.sock | Embedded MySQL socket path |
MYSQL_PID_FILE | /run/mysqld/mysqld.pid | Embedded MySQL pid file path |
DB_HOST | 127.0.0.1 | Metadata database host. Change this when using external MySQL |
DB_PORT | 3306 | Metadata database port |
DB_DATABASE | cdmgr | Metadata database name |
DB_USERNAME | root | Metadata database username |
DB_PASSWORD | Follows MYSQL_ROOT_PASSWORD by default | Metadata database password |
| Container Path | Suggested Host Path | Description |
|---|---|---|
/var/lib/mysql | /data/cgdm-alone/mysql | Embedded MySQL data directory, important |
/root/cgdm/alone/conf | /data/cgdm-alone/conf | Configuration directory containing alone.properties, important |
/root/cgdm/alone/data | /data/cgdm-alone/data | Runtime data directory, important |
/root/cgdm/alone/logs | /data/cgdm-alone/logs | Log directory |
| Container Port | Purpose | Required Mapping |
|---|---|---|
8222 | Web console | Yes |
For the minimal startup path, only 8222 needs to be mapped.
This image generates configuration from environment variables only when /root/cgdm/alone/conf/alone.properties does not exist.
Content type
Image
Digest
sha256:42737a9af…
Size
535.1 MB
Last updated
about 7 hours ago
docker pull bladepipe/cgdm-alone:4.0.2-rc.1