
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Docker Hub: danuke/homepage
This project is a simple, standalone, self-hosted PHP page that is meant to be your window to your server and the web.
It is your minimalist corner of the internet. The background will update with a gorgeous (and royalty free) image from Unsplash, or a custom source every 20 seconds. With it, a simple menu is available to you with your most frequented links.
All the assets needed are part of the repo so it can run offline (though it won't fetch pretty background images for you).
This project uses:
Homepage w/o Menu: !Homepage w/o Menu
Homepage with Menu Toggled: !Homepage with Menu
Copy the config.sample.json file and rename to config.json. Be sure to update the fields as you see appropriate. You have the option to use the Unsplash API to fetch background images, or use a custom URL and JSON selector. If you choose to use Unsplash, will need to create a developer profile at Unsplash to use the background image functionality properly.
unlock_pattern => Choose unlock pattern from Mousetrapclock_format => Choose pattern format from http://php.net/manual/en/function.date.phphover_color => The CSS color for menu items when hovered overtime_to_refresh_bg => Time, in milliseconds, until it will fetch the next background imageidle_timer => Set a number of milliseconds here if you'd like to automatically hide the menu after a certain time of inactivity. Leave this attribute out entirely if you don't want an idle timer.items => Array of objects for links to be displayed. The menu will be in a grid of 3 icons per row on desktop. Object shape:
link => Insert any link you'd like, or {{cur}} for the current URL of the page, i.e. {{cur}}:32400/web/.icon => Icon to be displayed, choose icons from Font Awesome.img => Image to be displayed in place of an icon. Place image in hp_assets/img directory. Image will be displayed in size 80px x 80px.alt => Value for title of anchor tag.new_tab => Optional boolean value for whether link should open in new tab or current tab.NOTE: PHP cURL is required for fetching external images.
unsplash_client_id => Get Unsplash client ID from Unsplashcustom_url => Input a custom URL that will return proper JSONcustom_url_headers => Add any headers that may be needed to complete a cURL request to the aforementioned URL properlycustom_url_selector => Input a proper PHP array selector to be used on the JSON received above. For example, if I were to fetch from Github's user API with a 'custom_url' of 'https://api.github.com/users/octocat', the 'custom_url_selector' would simply be ['avatar_url']. [{random}] can be replaced for a random index in an array.您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务