Skip to content
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
品牌标识

AIRIOT智慧系统搭建平台经验交流

  1. 主页
  2. 其他功能
  3. 驱动删除平台报错

驱动删除平台报错

已定时 已固定 已锁定 已移动 其他功能
帖子 发布者 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • Z 离线
    Z 离线
    zhangqingqing
    写于 最后由 编辑
    #1

    974366b3-5ecb-4a99-b8d5-c934e3061ea9-驱动管理删除报错.png
    18d0ee05-8374-4280-bfcf-50ff4e1c785f-驱动删除报错.png
    平台删除驱动的时候报错无法处理,请问是什么情况?

    1 条回复 最后回复
    0
  • 核 离线
    核 离线
    核桃酥
    写于 最后由 核桃酥 编辑
    #2

    可以吧部署文件发一下吗(docker-compose.yml)

    1 条回复 最后回复
    0
  • Z 离线
    Z 离线
    zhangqingqing
    写于 最后由 编辑
    #3

    version: "3"
    services:
    algorithm:
    container_name: algorithm
    image: airiot/algorithm:v4.0.3
    labels:
    - traefik.enable=true
    - traefik.http.routers.algorithm.entrypoints=web
    - traefik.http.services.algorithm.loadbalancer.server.port=9000
    - traefik.http.routers.algorithm.middlewares=auth
    - traefik.http.routers.algorithm.rule=PathPrefix(/algorithm)
    - service.repo=algorithm
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    auth:
    container_name: auth
    depends_on:
    - redis
    - i18n-errcode
    image: airiot/auth:v4.2.7
    labels:
    - service.repo=auth
    - traefik.enable=true
    - traefik.http.routers.auth.rule=PathPrefix(/auth)
    - traefik.http.routers.auth.entrypoints=web
    - traefik.http.services.auth.loadbalancer.server.port=9000
    - traefik.http.middlewares.auth.forwardauth.address=http://auth:9000/auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    check:
    container_name: check
    depends_on:
    - mqtt
    - redis
    - postgres
    - i18n-errcode
    image: airiot/check:v4.2.4
    labels:
    - service.repo=check
    - traefik.enable=true
    - traefik.http.routers.check.rule=PathPrefix(/check)
    - traefik.http.routers.check.entrypoints=web
    - traefik.http.services.check.loadbalancer.server.port=9000
    - traefik.http.routers.check.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    computed:
    container_name: computed
    depends_on:
    - mqtt
    - redis
    image: airiot/computed:v4.2.0
    labels:
    - service.repo=computed
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    core:
    container_name: core
    depends_on:
    - mqtt
    - redis
    - postgres
    - influx
    - spm
    - i18n-errcode
    environment:
    - APP.PRINTCONFIG=true
    - App.Log.Level=5
    image: airiot/core:v4.2.52
    labels:
    - service.repo=core
    - traefik.enable=true
    - traefik.http.routers.core.rule=PathPrefix(/core)
    - traefik.http.routers.core.entrypoints=web
    - traefik.http.services.core.loadbalancer.server.port=9000
    - traefik.http.routers.core.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    privileged: true
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/fileServer:/app/fileServer
    - /home/app/airiot/config:/app/license
    - /home/app/airiot/backup:/app/backup
    - /home/app/airiot/svg:/app/svg
    - /home/app/airiot/web/html:/app/html
    - /home/app/airiot/i18n/:/app/configs/locale/
    data-source:
    container_name: data-source
    depends_on:
    - mqtt
    - redis
    - postgres
    - core
    - i18n-errcode
    image: airiot/data-source:v4.3.1
    labels:
    - service.repo=data-source
    - traefik.enable=true
    - traefik.http.routers.data-source.rule=PathPrefix(/ds)
    - traefik.http.routers.data-source.entrypoints=web
    - traefik.http.services.data-source.loadbalancer.server.port=9000
    - traefik.http.routers.data-source.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    driver:
    container_name: driver
    depends_on:
    - mqtt
    - redis
    - postgres
    - core
    - flow-engine
    - i18n-errcode
    environment:
    - OPERATION.HOST=172.41.0.200:13030
    image: airiot/driver:v4.2.0
    labels:
    - service.repo=driver
    - traefik.enable=true
    - traefik.http.routers.driver.rule=PathPrefix(/driver)
    - traefik.http.routers.driver.entrypoints=web
    - traefik.http.services.driver.loadbalancer.server.port=9000
    - traefik.http.routers.driver.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 9224:9224
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    electricli:
    container_name: electricli
    image: eifire/electric-ser:v1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.electricli.entrypoints=web
    - traefik.http.services.electricli.loadbalancer.server.port=8579
    - traefik.http.routers.electricli.middlewares=auth
    - traefik.http.routers.electricli.rule=PathPrefix(/electricli)
    - service.repo=electricli
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8579:8579
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    emulator:
    container_name: emulator
    depends_on:
    - mqtt
    - redis
    - postgres
    - core
    - i18n-errcode
    image: airiot/emulator:v4.2.0
    labels:
    - service.repo=emulator
    - traefik.enable=true
    - traefik.http.routers.emulator.rule=PathPrefix(/emulator)
    - traefik.http.routers.emulator.entrypoints=web
    - traefik.http.services.emulator.loadbalancer.server.port=9000
    - traefik.http.routers.emulator.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    fireService:
    container_name: fireService
    image: fire-service-1.0.0:latest
    labels:
    - traefik.enable=true
    - traefik.http.routers.fireService.entrypoints=web
    - traefik.http.services.fireService.loadbalancer.server.port=8568
    - traefik.http.routers.fireService.middlewares=auth
    - traefik.http.routers.fireService.rule=PathPrefix(/fireService)
    - service.repo=fireService
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8568:8568
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    firealarm:
    container_name: firealarm
    image: eifire/fire-alarm-ser:v1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.firealarm.entrypoints=web
    - traefik.http.services.firealarm.loadbalancer.server.port=8577
    - traefik.http.routers.firealarm.middlewares=auth
    - traefik.http.routers.firealarm.rule=PathPrefix(/firealarm)
    - service.repo=firealarm
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8577:8577
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    flow:
    container_name: flow
    depends_on:
    - postgres
    - mqtt
    - redis
    - flow-engine
    - i18n-errcode
    image: airiot/flow:v4.3.7
    labels:
    - service.repo=flow
    - traefik.enable=true
    - traefik.http.routers.flow.rule=PathPrefix(/flow)
    - traefik.http.routers.flow.entrypoints=web
    - traefik.http.services.flow.loadbalancer.server.port=9000
    - traefik.http.routers.flow.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    flow-engine:
    container_name: flow-engine
    depends_on:
    - postgres
    - mqtt
    - redis
    - i18n-errcode
    image: airiot/flow-engine:v4.5.7
    labels:
    - service.repo=flow-engine
    - traefik.enable=true
    - traefik.http.routers.flow-engine.rule=PathPrefix(/engine)
    - traefik.http.routers.flow-engine.entrypoints=web
    - traefik.http.services.flow-engine.loadbalancer.server.port=9000
    - traefik.http.routers.flow-engine.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/flow-engine/logs:/app/logs
    - /home/app/airiot/i18n/:/app/configs/locale/
    flow-opc:
    container_name: flow-opc
    image: airiot/flow-opc:v4.0.5
    labels:
    - traefik.enable=false
    - service.repo=flow-opc
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    flow-schedule:
    container_name: flow-schedule
    depends_on:
    - flow-engine
    image: airiot/flow-schedule:v4.2.0
    labels:
    - service.repo=flow-schedule
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    front:
    container_name: front
    depends_on:
    - i18n-errcode
    image: airiot/front:v4.0.7
    labels:
    - service.repo=front
    - traefik.enable=true
    - traefik.http.routers.front.rule=PathPrefix(/front)
    - traefik.http.routers.front.entrypoints=web
    - traefik.http.services.front.loadbalancer.server.port=9000
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/web/html:/app/html
    - /home/app/airiot/i18n/:/app/configs/locale/
    i18n-errcode:
    container_name: i18n-errcode
    image: airiot/i18n-errcode:v4.1.3
    labels:
    - service.repo=i18n-errcode
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ulimits:
    nproc: 4096
    nofile:
    soft: 1024
    hard: 3072
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n:/app/locale
    live:
    container_name: live
    depends_on:
    - mqtt
    - redis
    - postgres
    image: airiot/live:v4.2.10
    labels:
    - service.repo=live
    - traefik.enable=true
    - traefik.http.routers.live.rule=PathPrefix(/live)
    - traefik.http.routers.live.entrypoints=web
    - traefik.http.services.live.loadbalancer.server.port=9000
    - traefik.http.routers.live.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    log-handle-node:
    container_name: log-handle-node
    depends_on:
    - postgres
    - mqtt
    - redis
    image: airiot/log-handle-node:v4.0.4
    labels:
    - service.repo=log-handle-node
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    loki:
    command:
    - -config.file=/etc/loki/local-config.yaml
    - -server.grpc-max-recv-msg-size-bytes=14194304
    - -querier.max-concurrent=50
    container_name: loki
    image: grafana/loki:2.8.0
    networks:
    - backend
    - operation
    ports:
    - 3100:3100
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/loki/local-config.yaml:/etc/loki/local-config.yaml
    - /home/app/airiot/loki/data:/loki
    mapping:
    container_name: mapping
    depends_on:
    - mqtt
    - redis
    image: airiot/mapping:v4.2.1
    labels:
    - service.repo=mapping
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    my-service:
    container_name: my-service
    image: my-service:v1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.my-service.entrypoints=web
    - traefik.http.services.my-service.loadbalancer.server.port=8566
    - traefik.http.routers.my-service.middlewares=auth
    - traefik.http.routers.my-service.rule=PathPrefix(/myService)
    - service.repo=my-service
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8566:8566
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    online:
    container_name: online
    depends_on:
    - mqtt
    - redis
    image: airiot/online:v4.3.0
    labels:
    - service.repo=online
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    operation-extension:
    container_name: operation-extension
    image: airiot/operation-extension:v4.0.1
    labels:
    - traefik.enable=true
    - traefik.http.routers.operation-extension.entrypoints=web
    - traefik.http.services.operation-extension.loadbalancer.server.port=9000
    - traefik.http.routers.operation-extension.middlewares=auth
    - traefik.http.routers.operation-extension.rule=PathPrefix(/operation-extension)
    - service.repo=operation-extension
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    promtail:
    command:
    - -config.file=/etc/promtail/config.yml
    - -log.level=info
    container_name: promtail
    image: grafana/promtail:2.8.0
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/loki/promtail-config.yaml:/etc/promtail/config.yml
    - /home/app/airiot/flow-engine/logs/:/flow/
    - /var/run/docker.sock:/var/run/docker.sock
    report:
    container_name: report
    depends_on:
    - mqtt
    - redis
    - postgres
    - influx
    - i18n-errcode
    image: airiot/report:v4.2.2
    labels:
    - service.repo=report
    - traefik.enable=true
    - traefik.http.routers.report.rule=PathPrefix(/report)
    - traefik.http.routers.report.entrypoints=web
    - traefik.http.services.report.loadbalancer.server.port=9000
    - traefik.http.routers.report.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    rule:
    container_name: rule
    depends_on:
    - mqtt
    - redis
    - postgres
    image: airiot/rule:v4.2.6
    labels:
    - service.repo=rule
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    spm:
    container_name: spm
    depends_on:
    - postgres
    - redis
    - i18n-errcode
    image: airiot/spm:v4.2.4
    labels:
    - service.repo=spm
    - traefik.enable=true
    - traefik.http.routers.spm.rule=PathPrefix(/spm)
    - traefik.http.routers.spm.entrypoints=web
    - traefik.http.services.spm.loadbalancer.server.port=9000
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    privileged: true
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/config:/app/license
    - /home/app/airiot/spm/fileServer:/app/fileServer
    - /home/app/airiot/i18n/:/app/configs/locale/
    stats:
    container_name: stats
    depends_on:
    - mqtt
    - redis
    image: airiot/stats:v4.3.0
    labels:
    - service.repo=stats
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    storage:
    container_name: storage
    depends_on:
    - mqtt
    - redis
    - influx
    environment:
    - App.Log.Level=5
    - App.Service.GoroutineCount=100000
    - App.Service.SaveTSDBInterval=5000
    image: airiot/storage:v4.2.3
    labels:
    - service.repo=storage
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/main:/app/storage
    sync:
    container_name: sync
    image: airiot/sync:v4.0.1
    labels:
    - traefik.enable=true
    - traefik.http.routers.sync.entrypoints=web
    - traefik.http.services.sync.loadbalancer.server.port=9000
    - traefik.http.routers.sync.middlewares=auth
    - traefik.http.routers.sync.rule=PathPrefix(/sync)
    - service.repo=sync
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    syslog:
    container_name: syslog
    image: airiot/syslog:v4.0.1
    labels:
    - traefik.enable=true
    - traefik.http.routers.syslog.entrypoints=web
    - traefik.http.services.syslog.loadbalancer.server.port=9000
    - traefik.http.routers.syslog.middlewares=auth
    - traefik.http.routers.syslog.rule=PathPrefix(/syslog)
    - service.repo=syslog
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    task:
    container_name: task
    depends_on:
    - mqtt
    - redis
    - postgres
    image: airiot/task:v4.2.6
    labels:
    - service.repo=task
    - traefik.enable=false
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    tencentService:
    container_name: tencentService
    image: tencent-service-1.0.0:latest
    labels:
    - traefik.enable=true
    - traefik.http.routers.tencentService.entrypoints=web
    - traefik.http.services.tencentService.loadbalancer.server.port=8588
    - traefik.http.routers.tencentService.middlewares=auth
    - traefik.http.routers.tencentService.rule=PathPrefix(/tencentService)
    - service.repo=tencentService
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8588:8588
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    traefik:
    command:
    - --api.insecure=true
    - --providers.docker=true
    - --providers.docker.exposedbydefault=false
    - --entrypoints.web.address=:80
    - --entryPoints.web.forwardedHeaders.insecure
    - --accesslog=true
    - --accesslog.filters.statuscodes=200,400-417,500-505
    - --log.level=INFO
    container_name: traefik
    image: traefik:v2.10.1
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 31000:80
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /var/run/docker.sock:/var/run/docker.sock:ro
    transfer:
    container_name: transfer
    depends_on:
    - redis
    - postgres
    - i18n-errcode
    image: airiot/transfer:v4.2.2
    labels:
    - service.repo=transfer
    - traefik.enable=true
    - traefik.http.routers.transfer.rule=PathPrefix(/transfer)
    - traefik.http.routers.transfer.entrypoints=web
    - traefik.http.services.transfer.loadbalancer.server.port=9000
    - traefik.http.routers.transfer.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    video:
    container_name: video
    depends_on:
    - i18n-errcode
    image: airiot/video:v4.2.14
    labels:
    - service.repo=video
    - traefik.enable=true
    - traefik.http.routers.video.rule=PathPrefix(/video)
    - traefik.http.routers.video.entrypoints=web
    - traefik.http.services.video.loadbalancer.server.port=9000
    - traefik.http.routers.video.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    warning:
    container_name: warning
    depends_on:
    - mqtt
    - redis
    - postgres
    - i18n-errcode
    image: airiot/warning:v4.2.7
    labels:
    - service.repo=warning
    - traefik.enable=true
    - traefik.http.routers.warning.rule=PathPrefix(/warning)
    - traefik.http.routers.warning.entrypoints=web
    - traefik.http.services.warning.loadbalancer.server.port=9000
    - traefik.http.routers.warning.middlewares=auth
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/i18n/:/app/configs/locale/
    web:
    container_name: web
    image: nginx:1.25.0
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 3030:80
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /home/app/airiot/web/html:/usr/share/nginx/html
    - /home/app/airiot/web/ssl/:/usr/local/nginx/cert/
    - /home/app/airiot/web/nginx.conf:/etc/nginx/nginx.conf
    - /home/app/airiot/web/portal:/usr/share/nginx/portal
    ws-data:
    container_name: ws-data
    image: airiot/ws-data:v4.0.5
    labels:
    - traefik.enable=true
    - traefik.http.routers.ws-data.entrypoints=web
    - traefik.http.services.ws-data.loadbalancer.server.port=9000
    - traefik.http.routers.ws-data.middlewares=auth
    - traefik.http.routers.ws-data.rule=PathPrefix(/core/ws)
    - service.repo=ws-data
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    networks:
    backend: {}
    operation:
    external:
    name: operation_backend

    1 条回复 最后回复
    0
  • Z 离线
    Z 离线
    zhangqingqing
    写于 最后由 编辑
    #4

    image.png
    现在的情况是任何驱动都无法删除添加了

    1 条回复 最后回复
    0
  • 核 离线
    核 离线
    核桃酥
    写于 最后由 编辑
    #5

    应该是你们自己在docker-compose文件添加的内容格式不对,请检查一下,或者先把自己写的删除了看看

    季 1 条回复 最后回复
    0
  • 核 离线
    核 离线
    核桃酥
    写于 最后由 编辑
    #6

    你发的这个文件看不到驱动的内容,是不是配置文件发的不对?

    1 条回复 最后回复
    0
  • 季 离线
    季 离线
    季夏
    在 中回复了 核桃酥 最后由 编辑
    #7

    @小核桃 但这里图上的报错是我选择modbus驱动的时候发生的,是平台自带的驱动,不是我们自己写的

    1 条回复 最后回复
    0
  • 核 离线
    核 离线
    核桃酥
    写于 最后由 编辑
    #8

    去 172.41.0.200 这个服务器上找 docker-compose.yml

    1 条回复 最后回复
    0
  • 1 离线
    1 离线
    1134991206
    写于 最后由 编辑
    #9

    version: "3"
    services:
    6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=656ebc6fdc860f414149fe9c
    - --groupId=656ebc6fdc860f414149fe9d
    container_name: 6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker
    image: nbsdriver7:1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker.loadbalancer.server.port=8561
    - traefik.http.routers.6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-656ebc6fdc860f414149fe9c-nbsmoker.rule=PathPrefix(/nbsdriver)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=nbsmoker
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8561:8561
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /etc/timezone/timezone:/etc/timezone:ro
    6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=6571ac2fb8f6f0765e1267cd
    - --groupId=6571ac2fb8f6f0765e1267cd
    container_name: 6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera
    image: airiot/driver-hik-isc-camera:v4.0.6
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera.loadbalancer.server.port=9000
    - traefik.http.routers.6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-6571ac2fb8f6f0765e1267cd-driver-hik-isc-camera.rule=PathPrefix(/hikcamera)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=driver-hik-isc-camera
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=6576c801b8f6f0765e1267d9
    - --groupId=6576c801b8f6f0765e1267da
    container_name: 6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water
    image: protocoldriver40:1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water.loadbalancer.server.port=10102
    - traefik.http.routers.6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-6576c801b8f6f0765e1267d9-40water.rule=PathPrefix(/protocoldriver40)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=40water
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 10102:10102
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=65705776dc860f414149fea4
    - --groupId=65705776dc860f414149fea5
    container_name: 6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera
    image: airiot/driver-hik-camera:v4.0.12
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera.loadbalancer.server.port=9000
    - traefik.http.routers.6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-65705776dc860f414149fea4-driver-hik-camera.rule=PathPrefix(/hikcamera)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=driver-hik-camera
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=657bbf08b8f6f0765e1267dd
    - --groupId=657bbf08b8f6f0765e1267de
    container_name: 6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver
    image: waterdriver-1.0.0:latest
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver.loadbalancer.server.port=8557
    - traefik.http.routers.6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-657bbf08b8f6f0765e1267dd-waterDriver.rule=PathPrefix(/waterDriver)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=waterDriver
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8557:8557
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=657c301cb8f6f0765e1267e7
    - --groupId=657c301cb8f6f0765e1267e8
    container_name: 6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88
    image: protocoldriver88:1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88.loadbalancer.server.port=10103
    - traefik.http.routers.6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-657c301cb8f6f0765e1267e7-protocoldriver88.rule=PathPrefix(/protocoldriver88)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=protocoldriver88
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 10103:10103
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=657fdf09b8f6f0765e1267eb
    - --groupId=657fdf09b8f6f0765e1267ec
    container_name: 6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver
    image: electricdriver-1.0.0:latest
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver.loadbalancer.server.port=8560
    - traefik.http.routers.6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-657fdf09b8f6f0765e1267eb-electricDriver.rule=PathPrefix(/electricDriver)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=electricDriver
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8560:8560
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver:
    command:
    - --project=6551b5b259e0436a84d557fc
    - --serviceId=65671c450426e9915c580cb4
    - --groupId=
    container_name: 6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver
    image: test:1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver.entrypoints=web
    - traefik.http.services.6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver.loadbalancer.server.port=8562
    - traefik.http.routers.6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver.middlewares=auth
    - traefik.http.routers.6551b5b259e0436a84d557fc-65671c450426e9915c580cb4-testDriver.rule=PathPrefix(/testDriver)
    && (Headers(x-request-project,6551b5b259e0436a84d557fc) || Query(x-request-project=6551b5b259e0436a84d557fc))
    - service.repo=testDriver
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 8562:8562
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera:
    command:
    - --project=655ffb271d13d69605bf8726
    - --serviceId=65600d1be047e07283ecc51e
    container_name: 655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera
    image: airiot/driver-hik-camera:v4.0.12
    labels:
    - traefik.enable=true
    - traefik.http.routers.655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera.entrypoints=web
    - traefik.http.services.655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera.loadbalancer.server.port=9000
    - traefik.http.routers.655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera.middlewares=auth
    - traefik.http.routers.655ffb271d13d69605bf8726-65600d1be047e07283ecc51e-driver-hik-camera.rule=PathPrefix(/hikcamera)
    && (Headers(x-request-project,655ffb271d13d69605bf8726) || Query(x-request-project=655ffb271d13d69605bf8726))
    - service.repo=driver-hik-camera
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    falarmservice:
    container_name: falarmservice
    image: fire-service:v1.0.0
    labels:
    - traefik.enable=true
    - traefik.http.routers.falarmservice.entrypoints=web
    - traefik.http.services.falarmservice.loadbalancer.server.port=8577
    - traefik.http.routers.falarmservice.middlewares=auth
    - traefik.http.routers.falarmservice.rule=PathPrefix(/fireAlarm)
    - service.repo=falarmservice
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    mqtt:
    container_name: mqtt
    environment:
    - RABBITMQ_DEFAULT_USER=admin
    - RABBITMQ_DEFAULT_PASS=public
    image: airiot/rabbitmq:3.8.3-management-alpine
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    ports:
    - 1883:1883
    - 15672:15672
    - /etc/localtime:/etc/localtime/tcp
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    traefik:
    command:
    - --api.insecure=true
    - --providers.docker=true
    - --providers.docker.exposedbydefault=false
    - --entrypoints.web.address=:80
    - --entryPoints.web.forwardedHeaders.insecure
    - --accesslog=true
    - --accesslog.filters.statuscodes=200,400-417,500-505
    - --log.level=INFO
    container_name: traefik
    image: traefik:v2.10.1
    logging:
    driver: json-file
    options:
    max-size: 100m
    max-file: "1"
    networks:
    - backend
    - operation
    ports:
    - 31000:80
    restart: always
    ulimits:
    nproc: 40960
    nofile:
    soft: 10240
    hard: 30720
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
    backend: {}
    operation:
    external:
    name: operation_backend

    1 条回复 最后回复
    0
  • 核 离线
    核 离线
    核桃酥
    写于 最后由 编辑
    #10

    image.png
    把这行去掉,这个不是端口

    1 条回复 最后回复
    0

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组