feat(dev-cicd): docker compose up --no-deps lesson
This commit is contained in:
@@ -299,7 +299,8 @@ Pipeline 失败
|
|||||||
│ ├── "no space left" → docker system prune
|
│ ├── "no space left" → docker system prune
|
||||||
│ ├── "transferring context: XXX MB" 很慢 → 缺少 .dockerignore(node_modules 被传入)
|
│ ├── "transferring context: XXX MB" 很慢 → 缺少 .dockerignore(node_modules 被传入)
|
||||||
│ ├── build 成功但 push denied → 镜像路径缺 namespace(registry/namespace/image)
|
│ ├── build 成功但 push denied → 镜像路径缺 namespace(registry/namespace/image)
|
||||||
│ └── docker compose pull 超时 → 不带参数会拉 Docker Hub 上的 postgres/redis,只拉业务镜像
|
│ ├── docker compose pull 超时 → 不带参数会拉 Docker Hub 上的 postgres/redis,只拉业务镜像
|
||||||
|
│ └── docker compose up -d 也会 pull → 加 `--no-deps gateway web` 只重启业务容器
|
||||||
│
|
│
|
||||||
└── 部署失败
|
└── 部署失败
|
||||||
├── "Connection refused" (SSH) → 目标服务器 SSH 端口/密钥
|
├── "Connection refused" (SSH) → 目标服务器 SSH 端口/密钥
|
||||||
@@ -321,6 +322,7 @@ Pipeline 失败
|
|||||||
| `transferring context: 768MB` | 缺 .dockerignore | 创建 .dockerignore 排除 node_modules/.next/.git |
|
| `transferring context: 768MB` | 缺 .dockerignore | 创建 .dockerignore 排除 node_modules/.next/.git |
|
||||||
| `denied: requested access` (push) | ACR 镜像路径缺 namespace | registry/**namespace**/image |
|
| `denied: requested access` (push) | ACR 镜像路径缺 namespace | registry/**namespace**/image |
|
||||||
| `docker compose pull` 超时 | 拉了 Docker Hub 的 postgres/redis | `docker compose pull gateway web` 只拉业务镜像 |
|
| `docker compose pull` 超时 | 拉了 Docker Hub 的 postgres/redis | `docker compose pull gateway web` 只拉业务镜像 |
|
||||||
|
| `docker compose up -d` 也超时 | up 隐含 pull 所有 service | `docker compose up -d --no-deps gateway web` |
|
||||||
| `missing icon file 120x120` | 无 App Icon asset | 创建 Assets.xcassets + AppIcon |
|
| `missing icon file 120x120` | 无 App Icon asset | 创建 Assets.xcassets + AppIcon |
|
||||||
| `UIInterfaceOrientation` iPad | 缺 iPad 方向声明 | 四方向 + `UIRequiresFullScreen` |
|
| `UIInterfaceOrientation` iPad | 缺 iPad 方向声明 | 四方向 + `UIRequiresFullScreen` |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user