From 5069a31fd33a987ce53b745d0d2e7bca2dc3fc03 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Thu, 7 Oct 2021 21:03:09 +0800 Subject: [PATCH] green --- .../src/main/resources/application-util-green.yml | 2 +- question/src/main/resources/application-green.yml | 12 ++++++------ question/src/main/resources/application.yml | 4 ++-- question/src/main/resources/druid-green.yml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cloudutil/src/main/resources/application-util-green.yml b/cloudutil/src/main/resources/application-util-green.yml index 51cac966..7eca2b08 100644 --- a/cloudutil/src/main/resources/application-util-green.yml +++ b/cloudutil/src/main/resources/application-util-green.yml @@ -20,7 +20,7 @@ eureka: service-url: # 指定eureka server通信地址,注意/eureka/小尾巴不能少 #defaultZone: http://admin:admin@peer1:8761/eureka/,http://admin:admin@peer2:8762/eureka/ - defaultZone: http://admin:admin@49.232.6.143:7010/eureka/ + defaultZone: http://admin:admin@121.36.3.207:7010/eureka/ # defaultZone: http://admin:admin@192.168.0.99:7010/eureka/ instance: # 是否注册IP到eureka server,如不指定或设为false,那就回注册主机名到eureka server diff --git a/question/src/main/resources/application-green.yml b/question/src/main/resources/application-green.yml index 0f8bea45..3f0a2012 100644 --- a/question/src/main/resources/application-green.yml +++ b/question/src/main/resources/application-green.yml @@ -8,10 +8,10 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource rabbitmq: - host: 127.0.0.1 - password: guest + host: 121.36.3.207 + password: 111111 port: 5672 - username: guest + username: admin redis: database: 0 host: 127.0.0.1 @@ -22,15 +22,15 @@ spring: max-wait: -1ms min-idle: 0 password: '' + # password: 'areowqr!@43ef' port: 6379 timeout: 1000ms swagger: - enable: true + enable: false file: path: /home/cloud/question/uploads/ - #domain: https://api.ccsens.com/test/ domain: https://sxzxyzzlm.tall.wiki/gateway/question/ imgDomain: https://sxzxyzzlm.tall.wiki/gateway/question/uploads ht: @@ -39,4 +39,4 @@ ht: name: 认知功能评测云平台系统 eureka: instance: - ip-address: 49.232.6.143 \ No newline at end of file + ip-address: 119.3.214.36 \ No newline at end of file diff --git a/question/src/main/resources/application.yml b/question/src/main/resources/application.yml index d082c0ea..1d437161 100644 --- a/question/src/main/resources/application.yml +++ b/question/src/main/resources/application.yml @@ -1,4 +1,4 @@ spring: profiles: - active: prod - include: common, util-prod \ No newline at end of file + active: green + include: common, util-green \ No newline at end of file diff --git a/question/src/main/resources/druid-green.yml b/question/src/main/resources/druid-green.yml index 25a79271..d1dd9040 100644 --- a/question/src/main/resources/druid-green.yml +++ b/question/src/main/resources/druid-green.yml @@ -15,7 +15,7 @@ spring: maxWait: 60000 minEvictableIdleTimeMillis: 300000 minIdle: 5 - password: + password: b3fd300ad4694070007fdcca961c4018211dc53235dd806ad62abc0cc0abb8e5 poolPreparedStatements: true servletLogSlowSql: true servletLoginPassword: 111111 @@ -27,7 +27,7 @@ spring: testOnReturn: false testWhileIdle: true timeBetweenEvictionRunsMillis: 60000 - url: jdbc:mysql://127.0.0.1/question?useUnicode=true&characterEncoding=UTF-8 + url: jdbc:mysql://www.tall.wiki/question?useUnicode=true&characterEncoding=UTF-8 username: root validationQuery: SELECT 1 FROM DUAL env: CCSENS_HT \ No newline at end of file