按照手动安装部署的命令操作后,无法安装成功

问答  收藏
6 / 135

通过文档 手动安装部署示例(AMD 版) | HAP 私有部署 (mingdao.com)

在初始化出现这个问题
image.png

排查发现,data/hap/script/docker-compose.yml

version: '3'

services:
  app:
    image: nocoly/hap-community:5.8.0
    environment: &app-environment
      ENV_ADDRESS_MAIN: "http://119.45.225.238:8880"
      ENV_APP_VERSION: ""
      ENV_API_TOKEN: "UsfQLlhr7Jjra0yxF6BtPBmpmlJZ4lhrXxplFzoJieHgS7ej"
      ENV_TIME_ZONE: "Asia/Shanghai"
    ports:
      - 8880:8880
    volumes:
      - ./volume/data/:/data/
      - ../data:/data/hap/data

  sc:
    image: nocoly/hap-sc:3.0.0
    environment:
      <<: *app-environment
    volumes:
      - ./volume/data/:/data/

  command:
    image: nocoly/hap-command:node2011-python312
    environment:
      <<: *app-environment

  doc:
    image: nocoly/hap-doc:1.2.0
    environment:
      ENV_FILE_INNER_URI: "app:8880"

改成当前的镜像 registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:5.8.0 就可以安装了

但是却安装失败

image.png
image.png