Browse Source

119服务器部署

ht_visual
zzc 1 year ago
parent
commit
987be82a81
  1. 2
      cloudutil/src/main/resources/application-util-green.yml
  2. 8
      question/src/main/resources/application-green.yml
  3. 4
      question/src/main/resources/druid-green.yml

2
cloudutil/src/main/resources/application-util-green.yml

@ -20,7 +20,7 @@ eureka:
service-url: service-url:
# 指定eureka server通信地址,注意/eureka/小尾巴不能少 # 指定eureka server通信地址,注意/eureka/小尾巴不能少
#defaultZone: http://admin:admin@peer1:8761/eureka/,http://admin:admin@peer2:8762/eureka/ #defaultZone: http://admin:admin@peer1:8761/eureka/,http://admin:admin@peer2:8762/eureka/
defaultZone: http://admin:admin@121.36.3.207:7010/eureka/ defaultZone: http://admin:admin@sxzxyzzlm.tall.wiki:7010/eureka/
# defaultZone: http://admin:admin@192.168.0.99:7010/eureka/ # defaultZone: http://admin:admin@192.168.0.99:7010/eureka/
instance: instance:
# 是否注册IP到eureka server,如不指定或设为false,那就回注册主机名到eureka server # 是否注册IP到eureka server,如不指定或设为false,那就回注册主机名到eureka server

8
question/src/main/resources/application-green.yml

@ -8,7 +8,7 @@ spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
rabbitmq: rabbitmq:
host: 121.36.3.207 host: localhost
password: 111111 password: 111111
port: 5672 port: 5672
username: admin username: admin
@ -31,11 +31,11 @@ swagger:
enable: false enable: false
file: file:
path: /home/cloud/question/uploads/ path: /home/cloud/question/uploads/
domain: https://sxzxyzzlm.tall.wiki/gateway/question/ domain: https://localhost:7020/gateway/question/
imgDomain: https://sxzxyzzlm.tall.wiki/gateway/question/uploads imgDomain: https://localhost:7020/gateway/question/uploads
ht: ht:
project: project:
patientUrl: https://sxzxyzzlm.tall.wiki/ht-dev/htPatientRegister patientUrl: https://localhost:7020/ht-dev/htPatientRegister
name: 认知功能评测云平台系统 name: 认知功能评测云平台系统
eureka: eureka:
instance: instance:

4
question/src/main/resources/druid-green.yml

@ -15,7 +15,7 @@ spring:
maxWait: 60000 maxWait: 60000
minEvictableIdleTimeMillis: 300000 minEvictableIdleTimeMillis: 300000
minIdle: 5 minIdle: 5
password: b3fd300ad4694070007fdcca961c4018211dc53235dd806ad62abc0cc0abb8e5 password:
poolPreparedStatements: true poolPreparedStatements: true
servletLogSlowSql: true servletLogSlowSql: true
servletLoginPassword: 111111 servletLoginPassword: 111111
@ -27,7 +27,7 @@ spring:
testOnReturn: false testOnReturn: false
testWhileIdle: true testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000 timeBetweenEvictionRunsMillis: 60000
url: jdbc:mysql://www.tall.wiki/question?useUnicode=true&characterEncoding=UTF-8 url: jdbc:mysql://localhost/question?useUnicode=true&characterEncoding=UTF-8
username: root username: root
validationQuery: SELECT 1 FROM DUAL validationQuery: SELECT 1 FROM DUAL
env: CCSENS_HT env: CCSENS_HT
Loading…
Cancel
Save