
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Blazing Fast S3 Powered CDN, Powered By Fastify, S3 Compatible Buckets & Docker!
docker-compose.ymlymlversion: "3.9" services: cdn: image: maximking19/wasicdn-slave build: . network_mode: host environment: - name=UK # Location Name - PORT=3005 # The Port For The CDN - adminPassword="yg6g4byugeuybygbiygyugbyuftuftufvtufvtfytdfcytftufytfc" - mongodb="mongodb://" # Your MongoDB Connector For The User & Files Database - files="local" # "s3" or "local", Where the CDN files are downloaded from. (Local = Pulls From The Core Server Uploads Folder, S3 = Pulls From The S3 Bucket) - coreServerIP="localhost:3010" # Where the core server is located (IP:PORT) (Can Find Port in Docker Compose Core Config Under adminPort. Default: 3010) - discordWebhook="https://discord.com/webhook/" # Discord Webhook For Files Uploads and User Audit Logs # s3 Bucket Details (If using s3) - s3Provider="" # Amazon AWS S3 "aws", Google Cloud Storage "gcs", Microsoft Azure Blob Storage "azure", DigitalOcean Spaces "digitalocean", Wasabi Object Storage "wasabi" (Custom S3 Bucket use = "s3compatible") # - endpoint="" # If using "s3compatible", add endpoint here # - region="" # If using "aws" or "digitalocean" - accessKeyID="" - secretAccessKey="" - bucketName="" volumes: - /usr/lib/cdn-slave/uploads:/usr/src/CDN/slave/uploads # Where the uploads are stored (/host/path:/container/path)
Core DockerHub: https://hub.docker.com/r/maximking19/wasicdn-core
Features:
• Fastify Powered Backend
• Built in Load *** which directs the connection to the closest server to the user
• Each Slave CDN pulls files from your selected S3 Bucket or local system, each slave location has a copy and distributes them to users.
• Directs users to the closest server by checking the IP Location and sending them to the correct way
↓ ( Wasabi S3 ) ↓ --> Fetches files from the S3 Bucket ↓ ||| ↓ ↓ ||| ↓ ↓ / \ ↓ ↓ / \ ↓ ↓ / \ ↓ ↓[ UK Server ][ US Server ] ↓ --> Replicates the files from the S3 Bucket to each server (Replicates at every location) ↓ \ / ↓ ↓ \ / ↓ ↓ \ / ↓ ---------------------
↓ ( Request ) ↓ ↓ | b | ↓ ↓ | d | ↓ ↓ --------------------- ↓ ↓ | Delivery System | ↓ --> Checks the request IP, and forwards there request to the closest server (Checks the IP's location to determine cloest server) ↓ --------------------- ↓ ↓ ||| ↓ ↓ --------------------- ↓ ↓ | Load *** | ↓ --> Redirects the request to the least stressed server in the location (UK1: 50%, UK2:25% - Would forward to UK2 as lowest System load) ↓ --------------------- ↓ --> Load *** Not Realeased (W.I.P) ↓ ||| ↓ ↓ --------------------- ↓ ↓ | CDN | ↓ --> Serves the requested file on the cloest server to them ↓ --------------------- ↓ ↓ ||| ↓ ↓ / \ ↓ ↓ / \ ↓ ↓ / \ ↓ ↓ [ Data ] [ File ] ↓ --> Dispatches both the Data and CDN File to the destination ↓ \ / ↓ ↓ \ / ↓ ↓ \ / ↓ ↓ ------------------- ↓ ↓ Destination ↓ --> File received! :) ↓ ------------------- ↓
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务