Files
starRiverProperty/maven-cw-elevator-application/deploy/v2-maven/bootstrap.properties
T
反编译工作区 824305aebf feat(elevator): 部署与 V1 对齐 Consul,Ribbon 固定 ninca-crk-std
- bootstrap:discovery.enabled=false、注册字段与 access-control,与 V1 fat-jar 一致(宿主机仍 192.168.3.12)
- application:v2-maven 使用 elevator-app、tomcat UTF-8;注释与静态 Ribbon 说明
- 新增 NincaCrkStdRibbonConfiguration + @RibbonClient,避免 Edgware 下 Feign 无可用实例
- deploy README 更新 Consul / ninca-crk-std 说明

Made-with: Cursor

Former-commit-id: 0a6ac9552cb18403816120113c56f13876a5a11f
2026-04-28 01:16:52 +08:00

15 lines
822 B
Properties
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 与 V1 运行包 cw-elevator-application-V1.0.0.20211103/bootstrap.properties 中 Consul 段对齐。
# Dubbo/ZooKeeperV1 fat-jar 内含 dubbo 注册地址,本 Maven V2 工程未使用 Dubbo,故不写 zookeeper 段。
# Consul 宿主机按本环境(局域网 Docker)覆盖。
spring.cloud.consul.host=192.168.3.12
spring.cloud.consul.port=8500
spring.cloud.consul.enabled=true
spring.cloud.consul.discovery.register=true
spring.cloud.consul.discovery.enabled=false
spring.cloud.consul.discovery.prefer-ip-address=true
spring.cloud.consul.discovery.instance-id=${spring.application.name}-${spring.cloud.client.ipAddress}:${server.port}
spring.cloud.consul.discovery.ip-address=${spring.cloud.client.ipAddress}
spring.cloud.consul.discovery.deregister=false
spring.profiles.active=access-control