基础RedisFastDFSRocketMQ docker-compose.yml 配置文件

Posted licbc

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了基础RedisFastDFSRocketMQ docker-compose.yml 配置文件相关的知识,希望对你有一定的参考价值。

version: '2.1'
services:
  redis:
    image: redis
    container_name: redis-server
    ports:
      - 6379:6379
    volumes:
      - "/data/redis/redis.conf:/etc/redis/redis.conf"
      - "/data/redis/data:/data"
    command: "redis-server /etc/redis/redis.conf --appendonly yes"

  tracker:
    image: delron/fastdfs
    container_name: tracker
    ports:
      - 22122:22122
    volumes:
      - "/data/fdfs/tracker:/var/fdfs"
      - "/etc/localtime:/etc/localtime"
    network_mode: host
  storage:
    image: storage:v1
    container_name: storage
    environment:
      TRACKER_SERVER: 172.25.35.144:22122
    volumes:
      - "/data/fdfs//storage:/var/fdfs"
      - "/etc/localtime:/etc/localtime"
      - "/data/fdfs/logs:/var/fdfs/logs"
    network_mode: host

  rmqnamesrv:
    image: rocketmqinc/rocketmq
    container_name: rmqnamesrv
    ports:
      - 9876:9876
    environment:
      MAX_POSSIBLE_HEAP: 100000000
    volumes:
      - "/data/rocketmq/data/namesrv/logs:/root/logs"
      - "/data/rocketmq/data/namesrv/store:/root/store"
    command: sh mqnamesrv
  rmqbroker:
    image: rocketmqinc/rocketmq
    container_name: rmqbroker
    ports:
      - 10911:10911
      - 10909:10909
    links:
      - rmqnamesrv:namesrv
    environment:
      MAX_POSSIBLE_HEAP: 200000000
      NAMESRV_ADDR: "namesrv:9876"
    volumes:
      - "/data/rocketmq/data/broker/logs:/root/logs"
      - "/data/rocketmq/data/broker/store:/root/store"
      - "/data/rocketmq/conf/broker.conf:/opt/rocketmq/conf/broker.conf"
    command: sh mqbroker -c /opt/rocketmq/conf/broker.conf
  rocketmq-console:
    image: rocketmq-console:v3
    container_name: rocketmq-console
    ports:
      - 18080:18080
    environment:
      JAVA_OPTS: "-Drocketmq.config.namesrvAddr=172.25.35.144:9876 -Drocketmq.config.isVIPChannel=false"
    volumes:
      - "/etc/localtime:/etc/localtime"

以上是关于基础RedisFastDFSRocketMQ docker-compose.yml 配置文件的主要内容,如果未能解决你的问题,请参考以下文章

Java 基础 之 do while 循环

Java基础第九节(do-while循环)

Java基础第九节(do-while循环)

Java基础第九节(do-while循环)

php基础:white和 do white区别

《C#零基础入门之百识百例》(十六)循环结构do-while语句 -- 这道题会做了吗?