1、Docker安装
参考:https://www.cnblogs.com/a120608yby/p/9883175.html

2、Docker Compose安装

https://www.cnblogs.com/a120608yby/p/14582853.html

3、服务配置文件

# vim docker-compose.yaml 
version: "3.9"
services:
  kuboard:
    image: eipwork/kuboard:v3
    container_name: kuboard
    restart: always
    ports:
      - "80:80"
      - "10081:10081"
    networks:
      - ops_default
    environment: 
      KUBOARD_ENDPOINT: "http://172.16.24.100"
      KUBOARD_AGENT_SERVER_TCP_PORT: "10081"
    volumes:
      - ./data:/data

networks:
  ops_default:
    external: true

4、服务启动

docker compose up -d

5、查看服务启动状态

docker compose ps

6、访问

访问地址:http://部署主机IP
默认账号:admin
默认密码:Kuboard123

 

posted on 2023-04-26 11:42  a120608yby  阅读(402)  评论(0编辑  收藏  举报