# cff-eureka **Repository Path**: consolelog/cff-eureka ## Basic Information - **Project Name**: cff-eureka - **Description**: No description available - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Eureka docker镜像 开发模式compose示例: ```yaml version: "3" services: eureka: image: registry.cn-beijing.aliyuncs.com/codeforfun/eureka:2.1.1.RELEASE-0.0.1.RC ports: - "8761:8761" ``` HA模式compose示例: ```yaml version: "3" services: eureka1: &eureka-server image: registry.cn-beijing.aliyuncs.com/codeforfun/eureka:2.1.1.RELEASE-0.0.1.RC environment: APPLICATION_NAME: eureka REGISTER_WITH_EUREKA: "true" FETCH_REGISTRY: "true" REGISTRY_URL: http://eureka1:8761/eureka/,http://eureka2:8761/eureka/,http://eureka3:8761/eureka/ ports: - "8761:8761" eureka2: <<: *eureka-server ports: - "8762:8761" eureka3: <<: *eureka-server ports: - "8763:8761" ``` 镜像地址: registry.cn-beijing.aliyuncs.com/codeforfun/eureka:2.1.1.RELEASE-0.0.1.RC 阿里云北京内网地址: registry-internal.cn-beijing.aliyuncs.com/codeforfun/eureka:2.1.1.RELEASE-0.0.1.RC 参数: 参数名|属性名|说明|默认值 ---|---|---|--- APPLICATION_NAME|spring.application.name|注册后的服务名|euruka(页面会显示大写) REGISTER_WITH_EUREKA|eureka.client.register-with-eureka|是否注册到注册中心|"false"(注意双引号) FETCH_REGISTRY|eureka.client.fetch-registry|是否强制注册|"false"(注意双引号) REGISTRY_URL|eureka.client.service-url.defaultZone|注册中心地址|http://localhost:8761/eureka/ 源码地址: [https://gitee.com/consolelog/cff-eureka](https://gitee.com/consolelog/cff-eureka)