Demo entry 6783555

22为

   

Submitted by anonymous on Feb 16, 2019 at 04:48
Language: YAML. Code size: 7.3 kB.

version: '3'
services:
  redis:
    image: docker.io/redis:5.0.3
    container_name: redis
    networks:
      - teynet
    privileged: true
    ports:
      - 6379:6379
    volumes:
      - /home/teynet/redis/data:/data
    command: --save "" --requirepass "1qazxsw2"
  mysql:
    image: mysql:5.6
    container_name: mysql
    networks:
      - teynet
    privileged: true
    environment:
      MYSQL_ROOT_PASSWORD: 1qazxsw2
      MYSQL_DATABASE: epay
    ports:
      - 3306:3306
    volumes:
      - /home/teynet/mysql/data:/var/lib/mysql
    command: --binlog-format=ROW --log-bin=mysql-bin --server_id=2028 --binlog-checksum=none
      
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.1.1
    privileged: true
    container_name: elasticsearch
    networks:
      - teynet
    environment:
      - "discovery.type=single-node"
    volumes:
      - /home/teynet/es/data:/usr/share/elasticsearch/data
      - /home/teynet/es/plugins:/usr/share/elasticsearch/plugins
    ports:
      - 9200:9200
      - 9300:9300

  kibana:
    image: docker.elastic.co/kibana/kibana:6.1.1
    privileged: true
    container_name: kibana
    networks:
      - teynet
    ports:
      - 5601:5601

  rabbitmq:
    image: docker.io/rabbitmq:management
    container_name: rabbitmq
    networks:
      - teynet
    privileged: true
    environment:
      RABBITMQ_DEFAULT_USER: lndx
      RABBITMQ_DEFAULT_PASS: 1qazxsw2
    ports:
      - 15672:15672
      - 4369:4369
      - 5672:5672
      - 25672:25672
      - 61613:61613
      - 61614:61614
      - 1883:1883
      - 15674:15674
      - 15675:15675
networks:
  teynet:
    external: true
  bridge:
    external: true



version: '3'
services:
  epay-cloud-eureka:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-eureka:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-eureka
    ports:
      - 8601:8601
    networks:
      - teynet	
    volumes:
          - /home/teynet/log/epay-cloud-eureka:/logback
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-eureka-1.0.1-SNAPSHOT.jar


  epay-cloud-config:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-config:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-config
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
      - "RABBIT_MQ_HOST=epaytest.antclick.com"
    extra_hosts:
      - "epaytest.antclick.com:10.6.20.38"
      - "proxy.tintop.cn:10.6.15.20"
    networks:
      - teynet
    depends_on:
      - epay-cloud-eureka
    volumes:
          - /home/teynet/log/epay-cloud-config:/logback
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-config-1.0.1-SNAPSHOT.jar
    
    
  epay-cloud-apigate:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-apigate:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-apigate
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    depends_on:
      - epay-cloud-config
    networks:
      - teynet
    ports:
      - 8603:8603
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-apigate-1.0.1-SNAPSHOT.jar

networks:
  teynet:
    external: true



version: '3'
services:
  epay-cloud-mbs:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-mbs:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-mbs
    networks:
      - teynet	
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    volumes:
          - /home/teynet/log/epay-cloud-mbs:/logback
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M  -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-mbs-1.0.1-SNAPSHOT.jar

  epay-cloud-service:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-service:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-service
    networks:
      - teynet
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    volumes:
          - /home/teynet/log/epay-cloud-service:/logback
    command: java -server -Xms512m -Xmx1G -XX:MaxDirectMemorySize=128M  -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-service-1.0.1-SNAPSHOT.jar
 
  epay-cloud-oms:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-oms:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-oms
    networks:
      - teynet
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    volumes:
          - /home/teynet/log/epay-cloud-oms:/logback
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M  -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-oms-1.0.1-SNAPSHOT.jar	
    
  
  epay-cloud-file:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-file:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: epay-cloud-file
    networks:
      - teynet
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    command: java -server -Xms128m -Xmx512m -XX:MaxDirectMemorySize=128M  -XX:PermSize=64M -XX:MaxPermSize=128M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -jar /root/epay-cloud-file-1.0.1-SNAPSHOT.jar

networks:
  teynet:
    external: true



version: '3'
services:
  esale-cloud-schedule:
    image: registry.cn-shenzhen.aliyuncs.com/teynet_release/epay-cloud-schedule:test_1.2.7
    logging:
      driver: "json-file"
      options:
        max-size: "200m"
    privileged: true
    container_name: esale-cloud-schedule
    environment:
      - "ERUEKA_HOST=epaytest.antclick.com"
    extra_hosts:
      - "epaytest.antclick.com:10.6.20.38"
    labels:
      aliyun.logs.teynet_schedule: stdout     
    networks:
      - teynet	
    volumes:
          - /home/teynet/log/esale-cloud-schedule:/logback
    command: java -Xms1G -Xmx1G -XX:MaxDirectMemorySize=512M -XX:PermSize=128M -XX:MaxPermSize=256M -Duser.timezone=GMT-05 -Dspring.profiles.active=test -Djava.util.Arrays.useLegacyMergeSort=true -jar /root/epay-cloud-schedule-1.0.1-SNAPSHOT.jar
networks:
  teynet:
    external: true

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).