From 8d5fb4ee9d27fd6a61b210eaee74af265f76aa7c Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期五, 08 四月 2022 14:55:18 +0800 Subject: [PATCH] [修改]修改配置 --- springcloud_k8s_panzhihuazhihuishequ/service_api/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml | 6 +++--- springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml | 6 +++--- springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml | 2 +- springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml | 6 +++--- springcloud_k8s_panzhihuazhihuishequ/deploy-file/config-server.yaml | 6 +++--- springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml | 6 +++--- springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml | 7 ++++--- springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/resources/bootstrap.yml | 2 +- 17 files changed, 30 insertions(+), 29 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml index 3e32f90..e7de7aa 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml index 17081fc..72582f4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml index 3fe229f..b15cdd5 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml @@ -5,9 +5,9 @@ config: discovery: enabled: true - service-id: config # 注册中心的服务名 + service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} @@ -29,4 +29,4 @@ metrics: tags: - application: auth \ No newline at end of file + application: huacheng-auth \ No newline at end of file diff --git a/springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml index da96839..2649eab 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml @@ -5,9 +5,9 @@ config: discovery: enabled: true - service-id: config # 注册中心的服务名 + service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: @@ -32,4 +32,4 @@ metrics: tags: - application: communitybackstage \ No newline at end of file + application: huacheng-communitybackstage \ No newline at end of file diff --git a/springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml b/springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml index 183a9f7..b82a5b3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml @@ -1,6 +1,6 @@ server: - port: 8193 + port: 6193 servlet: encoding: force-response: true #中文乱码 @@ -14,7 +14,7 @@ spring: application: - name: config + name: huacheng-config cloud: config: @@ -24,6 +24,7 @@ # search-paths: adminConfig username: huanghongfa password: huanghongfa123456 + default-label: huacheng # basedir: F:\nahan\config-repo\config-repo #spring: @@ -49,4 +50,4 @@ metrics: tags: - application: config \ No newline at end of file + application: huacheng-config \ No newline at end of file diff --git a/springcloud_k8s_panzhihuazhihuishequ/deploy-file/config-server.yaml b/springcloud_k8s_panzhihuazhihuishequ/deploy-file/config-server.yaml index 1dcce2f..da1980e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/deploy-file/config-server.yaml +++ b/springcloud_k8s_panzhihuazhihuishequ/deploy-file/config-server.yaml @@ -36,7 +36,7 @@ ports: - - containerPort: 8193 + - containerPort: 6193 env: - name: EUREKA_URL value: eureka-server @@ -51,8 +51,8 @@ name: config-server spec: ports: - - port: 8193 - targetPort: 8193 + - port: 6193 + targetPort: 6193 name: http #nodePort: 31072 selector: diff --git a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml index 0c315f2..1d6c32a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml index cc427c1..3e9c6b5 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_api/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_api/src/main/resources/bootstrap.yml index 7379ba7..dd47d64 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_api/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_api/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml index a7290bb..71111a2 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml @@ -5,9 +5,9 @@ config: discovery: enabled: true - service-id: config # 注册中心的服务名 + service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: @@ -40,4 +40,4 @@ metrics: tags: - application: community \ No newline at end of file + application: huacheng-community \ No newline at end of file diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml index 38ecc3c..8210c59 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml index 378cee1..d189eb4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/resources/bootstrap.yml index 1b70c66..d0cb607 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml index 382c953..d122944 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml @@ -5,9 +5,9 @@ config: discovery: enabled: true - service-id: config # 注册中心的服务名 + service-id: huacheng-config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} @@ -28,4 +28,4 @@ metrics: tags: - application: user \ No newline at end of file + application: huacheng-user \ No newline at end of file diff --git a/springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml index 093e51a..c16eb3d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: diff --git a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml index b61e152..034c58b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml @@ -7,7 +7,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} diff --git a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml index b9d0ba8..c7d6002 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml +++ b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml @@ -15,7 +15,7 @@ enabled: true service-id: config # 注册中心的服务名 profile: ${ENV:dev} # 指定配置文件的环境 - uri: http://${CONFIG_URL:localhost}:8193/ + uri: http://${CONFIG_URL:localhost}:6193/ profiles: active: ${ENV:dev} servlet: -- Gitblit v1.7.1