services.dashboard.ports contains an invalid type, it should be a number, or an object

2025/07/18 11:59:21 Pull complete [4a735d85a95a] — 100.00%

2025/07/18 11:59:21 Pull complete [fdf2cb0c37e1] — 100.00%

2025/07/18 11:59:21 Pull complete [62efff30fdcd] — 100.00%

2025/07/18 11:59:21 Pull complete [a81fab71a4eb] — 100.00%

2025/07/18 12:00:22 Pull complete [bff219ce83f8] — 100.00%

2025/07/18 12:00:22 Pull complete [4f4fb700ef54] — 100.00%

2025/07/18 12:00:22 Pull complete [22f2683b2808] — 100.00%

2025/07/18 12:00:22 镜像拉取成功

2025/07/18 12:00:22 开始拉取镜像 apacherocketmq/rocketmq-dashboard:latest

2025/07/18 12:00:25 镜像拉取成功

2025/07/18 12:00:25 启动 应用

2025/07/18 12:00:26 启动 应用 失败 : stderr: The Compose file ‘/opt/1panel/apps/rocketmq/rocketmq/docker-compose.yml’ is invalid because:

services.dashboard.ports contains an invalid type, it should be a number, or an object

2025/07/18 12:00:26 安装应用 [rocketmq] 失败: stderr: The Compose file ‘/opt/1panel/apps/rocketmq/rocketmq/docker-compose.yml’ is invalid because:

services.dashboard.ports contains an invalid type, it should be a number, or an object

2025/07/18 12:00:27 [TASK-END]

社区版v2.0.4

看一下 docker-compose version 或者 docker compose version

低版本的话 要升级一下

太低了 升级到 v2 最新版本