
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
 https://coveralls.io/repos/github/FarmBot/Farmbot-Web-App/badge.svg](https://coveralls.io/github/FarmBot/Farmbot-Web-App) https://api.codeclimate.com/v1/badges/74091163d8a02bb8988f/maintainability](https://codeclimate.com/github/FarmBot/Farmbot-Web-App/maintainability)
😎:new: Documentation to help software developers write add-ons and plugins for FarmBot👀
End users should not run this software.
There are only a handful of use cases where running a third party server is advisable:
FarmBot, Inc. provides a publicly accessible server at [***] for end users that are not familiar with Ruby on Rails application development. Hosting your own server will require an understanding of how Ruby on Rails applications (and databases) operate. It is designed for use by software engineers. Self-hosting the Web App will not provide you with a more stable user experience and may result in accidental security issues or data loss.
If you are not a Ruby on Rails developer, or you have never written a Ruby on Rails application, you are encouraged to use the publicly available web app. Running a server is a non-trivial task with security implications. Data loss and security issues are possible in some circumstances. Self hosting requires an intermediate background in Ruby, SQL and Linux system administration.
We do not have the resources available to help novice developers learn to setup servers, environments, configurations, or perform basic Linux command line instructions.
We take security seriously and value the input of independent researchers. Please see our responsible disclosure guidelines.
This repo contains FarmBot's web based user interface, a RESTful JSON API and a Dockerized MQTT server. The API stores data such as user account information, plant data, authorization tokens and a variety of other resources. The MQTT server facilitates realtime messaging from the browser to the device.
For a list of example API requests and responses, see our https://gist.github.com/RickCarlino/10db2df375d717e9efdd3c2d9d8932af. If you wish to write an add-on application that uses the FarmBot API, please let us know in an issue. We are happy to answer any specific questions you may have.
If you are not a software developer with Ruby on Rails experience, you should not set up a server. Data loss and security vulnerabilities are possible.
We provide example setup instructions for software developers running Ubuntu 18 https://github.com/FarmBot/Farmbot-Web-App/blob/master/ubuntu_example.sh.
Installation was last tested against Ubuntu 18.04 in October of 2018 on an x86 based machine.
Our ability to help individual users with private setup is limited. Using the public server at [***] is the recommended setup for end users. Please see the top of this document for more information.
We follow the 12 Factor Methodology. As such, ENV variables are the primary means of storing configuration. Your server won't run without setting ENV variables first.
You can accomplish this by setting the ENV variables directly from your shell / server management tool or by writing an .env file in server's base directory.
See example.env for a list of all the variables that must be set.
Encryption keys: Encryption keys will be auto-generated if not present. They can be reset using rake keys:generate. If ENV['RSA_KEY'] is set, it will be used in place of the *.pem files. This is useful for environments like Heroku and Docker, where file system access is not allowed.
Thanks for your interest in internationalizing the FarmBot web app! To add translations:
/public/app-resources/languages and run the command node _helper.js yy where yy is your language's language code. Eg: ru for ***."phrase": "translated phrase".https://github.com/FarmBot/Farmbot-Web-App/search?utf8=%E2%9C%93&q=todo.
https://github.com/FarmBot/Farmbot-Web-App/issues/new?title=Question%20about%20a%20TODO if you have any questions.
If you raise an issue indicating that you haven't followed the setup instructions, looked through past issues, or done a cursory internet search for basic help, expect the issue to be closed and we'll point you to the setup instructions. Again, if you do not have at least intermediate Linux and Ruby experience, please use the hosted version of the web app at my.farm.bot. Running a self-hosted server is not easy!
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务