
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
本镜像基于Ghost博客系统,集成了https://github.com/eexit/ghost-storage-cloudinary%E5%BC%80%E5%8F%91%E7%9A%84Cloudinary%E5%AD%98%E5%82%A8%E6%A8%A1%E5%9D%97%EF%BC%8C%E5%8F%AF%E5%B0%86Ghost%E5%8D%9A%E5%AE%A2%E7%9A%84%E5%AA%92%E4%BD%93%E6%96%87%E4%BB%B6%EF%BC%88%E5%A6%82%E5%9B%BE%E7%89%87%EF%BC%89%E5%AD%98%E5%82%A8%E5%88%B0Cloudinary%E4%BA%91%E6%9C%8D%E5%8A%A1%E4%B8%AD%EF%BC%8C%E6%9B%BF%E4%BB%A3%E6%9C%AC%E5%9C%B0%E5%AD%98%E5%82%A8%E3%80%82
通过环境变量配置Cloudinary认证信息及存储选项,关键配置项包括:
storage__active: 需设置为ghost-storage-cloudinary以启用该模块storage__ghost-storage-cloudinary__auth__cloud_name: Cloudinary云名称storage__ghost-storage-cloudinary__auth__api_key: Cloudinary API密钥storage__ghost-storage-cloudinary__auth__api_secret: Cloudinary API密钥 secretymlversion: "3.7" services: ghost: container_name: ghost image: sagat79/ghost-cloudinary:latest restart: always ports: - "2368:2368" depends_on: - db environment: url: https://example.com database__client: mysql database__connection__host: db database__connection__user: ghost database__connection__password: ghostdbpass database__connection__database: ghostdb mail__transport: SMTP mail__from: 'YOU <you@gmail.com>' mail__options__service: gmail mail__options__host: smtp.gmail.com mail__options__port: 465 mail__options__secureConnection: 'true' mail__options__auth__user: 'you@gmail.com' mail__options__auth__pass: 'APP Password' storage__active: 'ghost-storage-cloudinary' storage__ghost-storage-cloudinary__useDatedFolder: 'false' storage__ghost-storage-cloudinary__auth__cloud_name: 'CLOUDINARY-CLOUD-NAME' storage__ghost-storage-cloudinary__auth__api_key: 'CLOUDINARY-API-KEY' storage__ghost-storage-cloudinary__auth__api_secret: 'CLOUDINARY-API-SECRET' storage__ghost-storage-cloudinary__upload__use_filename: 'true' storage__ghost-storage-cloudinary__upload__unique_filename: 'false' storage__ghost-storage-cloudinary__upload__overwrite: 'false' storage__ghost-storage-cloudinary__upload__folder: 'blog-images' storage__ghost-storage-cloudinary__upload__tags: '["blog"]' storage__ghost-storage-cloudinary__fetch__quality: 'auto' storage__ghost-storage-cloudinary__fetch__secure: 'false' storage__ghost-storage-cloudinary__fetch__cdn_subdomain: 'true' imageOptimization__resize: 'false' volumes: - ./ghost-cloudinary/content:/var/lib/ghost/content db: container_name: ghost_mysql image: mysql:latest restart: always environment: MYSQL_ROOT_PASSWORD: your_mysql_root_password MYSQL_DATABASE: ghostdb MYSQL_USER: ghost MYSQL_PASSWORD: ghostdbpass ports: - "13928:3306" volumes: - ./ghost-cloudinary/mysql:/var/lib/mysql
GitHub仓库:https://github.com/sagat79/ghost-cloudinary Cloudinary存储模块文档:https://github.com/eexit/ghost-storage-cloudinary Ghost官方配置文档:Ghost Config
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务