
如果你用 DeepSeek、元宝AI、Copilot 等 AI 代为编写轩辕镜像的 docker pull、修改 compose 镜像地址,或排查拉取失败等问题,请让 AI 先读规则再动手,只要在 AI 对话里直接发送下面这句话即可:
生成 docker pull、修改 compose 的 image,或排查拉取失败前,请先阅读并严格遵守 https://xuanyuan.cloud/agents.md 中的规则。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!Docker Cloud Automated build !Docker Cloud Build Status !GitHub top language !Docker Pulls !GitHub last commit
Pixel art chatrooms with your friends!
Prerequisites
The following will need to be installed before proceeding:
Clone the Project
sh# Clone it git clone https://github.com/bsord/tiles-client.git cd tiles-client/
Setup Backend API
The frontend requires the Tiles API to be running for saving drawings and managing chats. To setup the backend API, please checkout the https://github.com/bsord/tiles-api/blob/master/README.md.
Install & Launch the Frontend
shnpm install npm start
The Tiles UI should now be available at http://localhost:3000
Nginx
The following is an Nginx configuration block for both frontend and backend: This section may not apply when deployed via kubernetes
shserver { listen 443 ssl; ssl on; ssl_certificate fullchain.pem; ssl_certificate_key privkey.pem; server_name tiles.mysite.io; large_client_header_buffers 4 8k; location / { proxy_pass http://127.0.0.1:3000/; # Upgrade for Websockets proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location /socket.io/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; proxy_set_header Host $host; proxy_pass http://127.0.0.1:4001/socket.io/; } location /tiles { proxy_pass http://127.0.0.1:4001/tiles; # Upgrade for Websockets proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
The Tiles UI can also be launched via Docker using the following example:
shdocker build -t bsord/tiles-client . docker run -d -p 80:80 --name 'tiles-client' bsord/tiles-client
Depends on helm v2 or v3 and a default storage provisioner
Create namespace 'tiles'
shkubectl create namespace tiles
Save DB password as shell env var
sh# do not use @ or ! in password as they will cause issues with connection strings. export DB_PASS=M0ngoPassH3re
Deploy Database
sh# Download production values template curl -O https://raw.githubusercontent.com/kubernetes/charts/master/stable/mongodb/values-production.yaml # Helm v3 helm install tilesdb -f values-production.yaml stable/mongodb --set mongodbUsername=TilesDB --set mongodbPassword=${DB_PASS} --set mongodbDatabase=tiles --namespace tiles # Helm v2 helm install --name tilesdb -f values-production.yaml stable/mongodb --set --set mongodbUsername=TilesDB --set mongodbPassword=${DB_PASS} --set mongodbDatabase=tiles --namespace tiles
check that it's ready kubectl get po -n tiles before moving on
Deploy Session Cache
sh# Helm v3 helm install tiles-session-db stable/redis --namespace tiles --set usePassword=false # Helm v2 helm install --name tiles-session-db stable/redis --namespace tiles --set usePassword=false
Create secrets
sh# If the name of the service (such as helm naming releases oddly), you may need to update the hostnames for both mongoURI and redishost to whatever the service names are for the respective installs kubectl create secret generic tiles-config --from-literal=mongouri=mongodb://TilesDB:${DB_PASS}@tilesdb-mongodb:27017/tiles --from-literal=redishost=tiles-session-db-redis-master -n tiles
check all pods ready kubectl get po -n tiles before moving on
Deploy Tiles (Deployments, Services, Ingresses, and HPAs) You may want to update the HOST values in the ingress portion of yaml before applying below
shkubectl apply -f kubernetes.yml
Verify deployment
sh# make sure all pods running kubectl get po -n tiles # View logs of api to make sure it's running kubectel get po -n tiles tiles-api-XXXXXXXXXXX # make sure cert is available kubectl get cert -n tiles
Unset DB Pass
shunset DB_PASS
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
发给 Cursor、ChatGPT、豆包等 AI 的说明文档
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务