# chrix-cloud **Repository Path**: chris_k/chrix-cloud ## Basic Information - **Project Name**: chrix-cloud - **Description**: 基于Spring Cloud的微服务环境 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2018-11-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # coupon-ceo #### 项目介绍 卡券生态系统(对接供应商、卡券管理、商城) Zipkin在Spring Boot 2.0以后推荐使用独立jar的方式启动 开发环境可以使用In-Memory方式存储数据 本项目使用Elasticsearch存储数据 Zipkin Server下载地址: https://repo1.maven.org/maven2/io/zipkin/java/zipkin-server/2.11.1/zipkin-server-2.11.1-exec.jar RabbitMQ + ElasticSearch + Zipkin启动: QUERY_PORT=6004 RABBIT_URI=amqp://root:root@my.com:5672/zipkin STORAGE_TYPE=elasticsearch ES_HOSTS=my.com:9200 java -jar zipkin-dependencies.jar QUERY_PORT=ZipkinPort RABBIT_URI=amqp://user:password@host:5672/vhost STORAGE_TYPE=elasticsearch ES_HOSTS=my.com:9200 java -jar zipkin-dependencies.jar Zipkin跨域设置: ZIPKIN_QUERY_ALLOWED_ORIGINS=http://foo.bar.com Zipkin端口设置: QUERY_PORT=6004 Zipkin参数说明: https://github.com/openzipkin/zipkin/tree/master/zipkin-server#environment-variables ## 启动 ### 1、启动ElasticSearch ### 2、启动Logstash ### 3、启动RabbitMQ ### 4、启动Redis ### 5、启动zipkin - 必须依赖ElasticSearch ### 6、启动ceo-config - 必须依赖RabbitMQ - 普通依赖zipkin、ceo-eureka ### 7、启动ceo-eureka - 必须依赖RabbitMQ、ceo-config - 普通依赖zipkin ### 8、启动ceo-admin - 必须依赖RabbitMQ、ceo-config、ceo-eureka - 普通依赖zipkin ### 9、启动ceo-gateway - 必须依赖RabbitMQ、ceo-config、ceo-eureka - 普通依赖zipkin、Redis ### 10、启动Kibana - 必须依赖ElasticSearch