
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
SIS-CC .Stat Suite的官方DbUp工具镜像,配置用于https://sis-cc.gitlab.io/dotstatsuite-documentation/安装。该工具用于初始化和/或更新dotstatsuite-data和dotstatsuite-common数据库,也可用于初始化空的MappingStore数据库。
源码仓库:https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-core-data-access
有关支持的完整执行选项列表,请参见文档的安装部分:https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-core-data-access/-/blob/develop/docs/installation/CodeBaseApproach.md?ref_type=heads#installation
请注意,这些选项未映射到单独的环境变量,因此容器仅接受单个环境变量(EXECUTION_PARAMETERS),所有选项可包含在该变量的单个值中。
使用最新版本启动dotstatsuite-dbup实例。
重要说明:如果在Windows上使用PowerShell运行这些命令,请使用双引号代替单引号。
更新dotstatsuite-data数据库
docker run -e 'EXECUTION_PARAMETERS=upgrade --connectionString Server=db;Database=DesignDataDb;User=sa;Password=yourStrong(!)Password; --dataDb --loginName testLogin --loginPwd testLogin(!)Password --force' -d docker.xuanyuan.run/siscc/dotstatsuite-dbup:master
重新初始化dotstatsuite-data数据库
docker run -e 'EXECUTION_PARAMETERS=upgrade --connectionString Server=db;Database=DesignDataDb;User=sa;Password=yourStrong(!)Password; --dataDb --loginName testLogin --loginPwd testLogin(!)Password --force --dropDb' -d docker.xuanyuan.run/siscc/dotstatsuite-dbup:master
更新dotstatsuite-common数据库
docker run -e 'EXECUTION_PARAMETERS=upgrade --connectionString Server=db;Database=commonDb;User=sa;Password=yourStrong(!)Password; --commonDb --loginName testLogin --loginPwd testLogin(!)Password --force' -d docker.xuanyuan.run/siscc/dotstatsuite-dbup:master
重新初始化dotstatsuite-common数据库
docker run -e 'EXECUTION_PARAMETERS=upgrade --connectionString Server=db;Database=commonDb;User=sa;Password=yourStrong(!)Password; --commonDb --loginName testLogin --loginPwd testLogin(!)Password --force --dropDb' -d docker.xuanyuan.run/siscc/dotstatsuite-dbup:master
初始化MappingStore数据库
请注意,此选项仅用于创建空数据库和登录名/数据库用户。要初始化或更新实际的映射存储数据库对象,必须对其运行https://gitlab.com/sis-cc/eurostat-sdmx-ri/maapi.net.mirrored/-/tree/master/src/Estat.Sri.Mapping.Tool?ref_type=heads。例如,集成了MAAPI工具的https://hub.docker.com/r/siscc/sdmxri-nsi-maapi镜像可用于此目的。
docker run -e 'EXECUTION_PARAMETERS=upgrade --connectionString Server=db;Database=mappingStoreDb;User=sa;Password=yourStrong(!)Password; --mappingStoreDb --loginName testLogin --loginPwd testLogin(!)Password --force --dropDb' -d docker.xuanyuan.run/siscc/dotstatsuite-dbup:master
适用于SIS-CC .Stat Suite部署环境中数据库的初始化、升级和维护操作,尤其适合通过容器化方式管理数据库版本和 schema 变更。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务