zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    python 执行sql得到字典格式数据
    python爬虫 url链接编码成gbk2312格式
    windows环境下elasticsearch安装教程(单节点)
    python SQLServer 存储图片
    爬虫的本质是和分布式爬虫的关系
    requests form data 请求 爬虫
    mysql 删除 binlog 日志文件
    查看mysql数据表的大小
    xshell 连接报错 Disconnected from remote host
    centos 7.3 安装 mysqldb 报错 EnvironmentError: mysql_config not found ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  • 原文地址:https://www.cnblogs.com/testzcy/p/10603740.html
Copyright © 2011-2022 走看看