
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This configuration will be typically used in conjunction with the MESH Client and helps suppliers test their systems against [***]
These documents are available on request from NHS Digital
This docker image has been generated from the FHIR_MESH git repostitory: https://github.com/nhsdigitalmait/FHIR_MESH. Examples of docker-compose files etc can be found here.
This config repository builds upon the TKW-x docker repository and reacts to structured MESH files being placed in the MESH-DATA-HOME volume. One or more MESH directories can be defined in the tkw-x external properties file which is referenced as a volume.
This image relies on Docker volumes for persistence of evidence, logging, FHIR profiles and MESH mailbox directories
All logs and validation reports are written to disk using the 'data' volume, separated into directories defined by the incoming MESH mailbox name. The container when executed creates an internal user "service" (user ID 1000) and writes its output to local disk (in this example at /home/host/data). If the user ID who is executing the container is not 1000 the ACL permissions must be set to allow this user:
setfacl -m u:1000:rwx /home/host/data
Additionally there are other images built for different UIDs named in the format x.x-uid e.g. 1.1-1005
The Data volume contains:
This must contain directories which are named in accordance with the environment variables for the MESH mailboxes. Each of these directories must contain at least an IN, OUT and SENT sub directory. As data is also written to these files they must have the appropriate permissions - see Data volume above. These directories are typically used by the NHS Digital MESH client programme which is used here to delivery and received MESH messages to and from Spine.
This directory must contain FHIR profiles in xml or json format to be used in the FHIR validation
This directory must contain an external extension of the tkw-x properties file named tkw-x.external.properties. This should have a definition of one or more MESH directories in the following format:
tks.MeshTransport.namelist XXXOT001 XXXOT002 tks.MeshTransport.XXXOT001.class uk.nhs.digital.mait.tkwx.meshinterceptor.MeshInterceptHandler tks.MeshTransport.XXXOT001.in /home/service/MESH/XXXOT001/IN tks.MeshTransport.XXXOT001.out /home/service/MESH/XXXOT001/OUT tks.MeshTransport.XXXOT001.sent /home/service/MESH/XXXOT001/SENT tks.MeshTransport.XXXOT001.forwarder /home/service/MESH/XXXOT001/forwarder tks.MeshTransport.XXXOT002.class uk.nhs.digital.mait.tkwx.meshinterceptor.MeshInterceptHandler tks.MeshTransport.XXXOT002.in /home/service/MESH/XXXOT002/IN tks.MeshTransport.XXXOT002.out /home/service/MESH/XXXOT002/OUT tks.MeshTransport.XXXOT002.sent /home/service/MESH/XXXOT002/SENT tks.MeshTransport.XXXOT002.forwarder /home/service/MESH/XXXOT002/forwarder
The "/home/service/MESH" references should be retained. An example of this can be found at the FHIR_MESH git repostitory: https://github.com/nhsdigitalmait/FHIR_MESH.
To execute the container, create a docker-compose.yml file containing the following, updating the directories as appropriate
version: '2.0' services: tkw_fhir_mesh: volumes: - '${HOME}/fhir_mesh_data:/home/service/data' - '${HOME}/NHSD.Assets.STU3:/home/service/fhir' - '${HOME}/general_config:/home/service/config' - '${HOME}/MESH-DATA-HOME:/home/service/MESH' image: 'nhsdigitalmait/tkw_fhir_mesh:0.1'
0.1: Initial build
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务