
如果你使用 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 is a docker image for Etherpad Lite collaborative text editor. The Dockerfile for this image has been inspired by the https://registry.hub.docker.com/_/wordpress/ Dockerfile and https://registry.hub.docker.com/u/johbo/etherpad-lite/ image.
This image uses an mysql container for the backend for the pads. It is based on debian jessie instead of the official node docker image, since the latest stable version of etherpad-lite does not support npm 2.
From the official website:
Etherpad allows you to edit documents collaboratively in real-time, much like a live multi-player editor that runs in your browser. Write articles, press releases, to-do lists, etc. together with your friends, fellow students or colleagues, all working on the same document at the same time.
!alt text
All instances provide access to all data through a well-documented API and supports import/export to many major data exchange formats. And if the built-in feature set isn't enough for you, there's tons of plugins that allow you to customize your instance to suit your needs.
You don't need to set up a server and install Etherpad in order to use it. Just pick one of publicly available instances that friendly people from everywhere around the world have set up. Alternatively, you can set up your own instance by following our installation guide
First you need a running mysql container, for example:
bash$ docker network create ep_network $ docker run -d --network ep_network -e MYSQL_ROOT_PASSWORD=password --name ep_mysql mysql
Finally you can start an instance of Etherpad Lite:
bash$ docker run -d \ --network ep_network \ -e ETHERPAD_DB_HOST=ep_mysql \ -e ETHERPAD_DB_PASSWORD=password \ -p 9001:9001 \ tvelocity/etherpad-lite
Etherpad will automatically create an etherpad database in the specified mysql
server if it does not already exist.
You can now access Etherpad Lite from http://localhost:9001/
This image supports the following environment variables:
ETHERPAD_TITLE: Title of the Etherpad Lite instance. Defaults to "Etherpad".
ETHERPAD_PORT: Port of the Etherpad Lite instance. Defaults to 9001.
ETHERPAD_SESSION_KEY: Session key for the Etherpad Lite configuraition. You
can set this in case of migrating from another installation. A value is
automatically generated by default.
ETHERPAD_ADMIN_PASSWORD: If set, an admin account is enabled for Etherpad,
and the /admin/ interface is accessible via it.
ETHERPAD_ADMIN_USER: If the admin password is set, this defaults to "admin".
Otherwise the user can set it to another username.
ETHERPAD_DB_HOST: Hostname of the mysql databse to use. Defaults to mysql
ETHERPAD_DB_USER: By default Etherpad Lite will atte*** to connect as root
to the mysql container.
ETHERPAD_DB_PASSWORD: MySQL password to use, mandatory. If legacy links
are used and ETHERPAD_DB_USER is root, then MYSQL_ENV_MYSQL_ROOT_PASSWORD is
automatically used.
ETHERPAD_DB_NAME: The mysql database to use. Defaults to etherpad. If the
database is not available, it will be created when the container is launched.
The generated settings.json file will be available as a volume under /opt/etherpad-lite/var/.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务