Git Product home page Git Product logo

thingspanel-docker's Introduction

本地快速启动项目

windows环境准备

linux环境准备

  • 安装docker

    dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    dnf install docker-ce docker-ce-cli containerd.io
    systemctl start docker.service
    systemctl enable docker.service
  • 安装docker-compose

    curl -L "https://github.com/docker/compose/releases/download/v2.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    chmod +x /usr/local/bin/docker-compose

    如果下载太慢可替换

    curl -L https://get.daocloud.io/docker/compose/releases/download/v2.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    chmod +x /usr/local/bin/docker-compose
    
  • 如没有安装git

    dnf install git -y
  • 使用拉取项目

    # 拉取docker配置
    git clone https://github.com/ThingsPanel/thingspanel-docker.git
    cd thingspanel-docker
  • 运行项目

    thingsPanel-go-docker目录下(win需要打开cmd 窗口)

    # 以日志显示前台方式启动项目(默认账户和密码 [email protected] 123456)(默认端口8080)
    docker-compose -f docker-compose.yml up
    # 或者以隐藏日志显示的方式启动项目
    docker-compose -f docker-compose.yml up -d
    # 停止服务
    docker-compose -f docker-compose.yml down

挂载说明

  • 后端配置文件、日志以及其他差分文件

    ./init_files/backend/
  • redis配置以及差分文件

    ./init_files/redis/

查看容器运行日志

docker logs -f containerID

## 注意事项

端口:

```bash
8080(前端服务端口)
9999(后端API端口)
1883(mqtt端口)
5432(postogresql端口)
6379(redis端口)
1880(规则引擎端口)
8083(mqtt用户注册接口)

联系我们

wiki

论坛

qq群:260150504

thingspanel-docker's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.