• docker-compose.yml 示例


    version: '2'
    services:
      kafka2mongo-2:
        image: hub.windinfo.cn/goldwind/databack:2.1.6
        environment:
          KAFKA_ADDRESS3: kafka-local:9092
          MONGO_POC_URI3: mongodb://admin:uqPfHx6sXsyF@52.83.139.139:59997,52.83.224.86:59998,52.83.138.55:59999/admin?replicaSet=rs0
          GROUP_ID1: group1-a
          GROUP_ID2: group2
          GROUP_ID3: group3
          GROUP_ID4: group4
        stdin_open: true
        tty: true
        links:
        - kafka-local:kafka-local
        command:
        - python
        - kafka2mongo.py
      kafka-prox2:
        image: rancher/external-service
      vfw-client:
        image: hub.windinfo.cn/digest/vfw-client:0.0.1-rc2
        environment:
          FILE_HANDLER_TYPE: delete
          VFW_VIRTUAL_HOST: 10.1.0.120
          VFW_PORT: '9898'
        volumes:
        - /mnt/vfw:/mnt/vfw:rw
        labels:
          io.rancher.container.pull_image: always
      databack2cloud-testku:
        image: hub.windinfo.cn/goldwind/databack:2.1.6
        environment:
          KAFKA_ADDRESS3: kafka-local:9092
          GROUP_ID1: gtest1
          GROUP_ID2: gtest2
          GROUP_ID3: gtest3
          GROUP_ID4: gtest4
          KAFKA_ADDRESSCLOUD: 52.82.17.226:9092,52.82.52.63:9092,52.82.35.112:9092
        stdin_open: true
        tty: true
        links:
        - kafka-local:kafka-local
        command:
        - python
        - threequdata2cloud.py
        labels:
          io.rancher.container.pull_image: always
      kafka-txy:
        image: rancher/external-service
      down-json:
        image: hub.windinfo.cn/poca/prediction:0.6.7
        environment:
          S3_PATH: /WPF/ZJF005_330482,/WPF/FJGHLM_350524,/WPF/ZJGHJX_330401,/WPF/ZJG027_330522,/WPF/ZJSMLMS_331022,/WPF/ZJG088_330481
          KAFKA_ADDRESS: kafka-local:9092
          PARSE_MOMENT: '0750'
          USE_TYPE: ftp
        stdin_open: true
        volumes:
        - /mnt/vfw/caster:/data
        - /mnt/:/pos
        tty: true
        links:
        - kafka-local:kafka-local
      databack2cloud-txy:
        image: hub.windinfo.cn/goldwind/databack:2.1.6
        environment:
          KAFKA_ADDRESS3: kafka-local:9092
          GROUP_ID1: gtxy1
          GROUP_ID2: gtxy2
          GROUP_ID3: gtxy3
          GROUP_ID4: gtxy4
          KAFKA_ADDRESSCLOUD: kafka:9092
        stdin_open: true
        tty: true
        links:
        - kafka-local:kafka-local
        - kafka-txy:kafka
        command:
        - python
        - dataTo2qu.py
        labels:
          io.rancher.container.pull_image: always
      downlog2mongo:
        image: hub.windinfo.cn/poca/ktom:0.0.7
        environment:
          MONGO_POC_URI: mongodb://admin:uqPfHx6sXsyF@52.83.139.139:59997,52.83.224.86:59998,52.83.138.55:59999/admin?replicaSet=rs0
          TOPIC: downlog
          TBL_DEST: runlog_submit
          TBL_INDEX: wfid,type,service,since,number
          KAFKA_ADDRESS: kafka-local:9092
        stdin_open: true
        tty: true
        links:
        - kafka-local:kafka-local
        labels:
          io.rancher.container.pull_image: always
      ipecho:
        image: hub.windinfo.cn/metro/ipecho:0.0.1
        environment:
          SLEEP_TIME: 360s
        labels:
          io.rancher.container.pull_image: always
      kafka-local:
        image: hub.windinfo.cn/goldwind/spotify-kafka:0.10.1.0
        environment:
          ADVERTISED_PORT: '9092'
          ADVERTISED_HOST: kafka-local
        stdin_open: true
        tty: true
        ports:
        - 9092:9092/tcp
        labels:
          io.rancher.container.pull_image: always
      casterd-month2:
        image: hub.windinfo.cn/poca/prediction:0.2.6.fileobj
        environment:
          S3_PATH: wrf_monthly/ZJF016_330225,wrf_monthly/ZJF012_330226,wrf_monthly/FJGHLM_350524,wrf_monthly/ZJGHJX_330401,wrf_monthly/浙江.旭辉光伏发电_330481,wrf_monthly/ZJG027_330522,wrf_monthly/ZJF005_330482,wrf_monthly/ZJSMLMS_331022
          POSTION_PATH: /pos
        stdin_open: true
        volumes:
        - /mnt/vfw/monthpre:/data
        - /mnt/pos:/pos
        tty: true
        labels:
          io.rancher.container.pull_image: always
  • 相关阅读:
    mysql中group by和order by混用 结果不是理想结果
    jquery点击弹框外层关闭弹框
    https soap链接示例
    微信更改分享图片和分享链接的方法
    OPENSSL安装
    php获取csv数据无乱码
    实例讲解Nginx下的rewrite规则 来源:Linux社区
    php https链接
    PHP CURL HTTPS POST
    php生成二维码
  • 原文地址:https://www.cnblogs.com/testzcy/p/10603740.html
Copyright © 2020-2023  润新知