iot-transfer.yml 689 B

1234567891011121314151617
  1. version: '3'
  2. services:
  3. iot-control:
  4. image: registry.persagy.com/ftp/iot-transfer:${tag}
  5. container_name: iot-transfer
  6. restart: always
  7. ports:
  8. # 服务暴露端口号,按环境调整
  9. #8863 为服务端口,
  10. - 8863:8863
  11. #8851为模拟iot-collect数据通讯的端口,同application.yml中配置的iot.server.collect.tcp_bind_port
  12. - 8851:8851
  13. #8855为模拟iot-control数据通讯的端口,同application.yml中配置的iot.server.control.tcp_bind_port
  14. - 8855:8855
  15. volumes:
  16. # 文件同级放config文件夹,文件夹下有 要包含application.yml等配置文件
  17. - ./config/:/usr/persagy/iot-transfer/config/