修改发布环境
This commit is contained in:
parent
596cf10a1c
commit
0b99d54edf
@ -38,7 +38,7 @@ spring.boot.admin.client:
|
|||||||
# 增加客户端开关
|
# 增加客户端开关
|
||||||
enabled: true
|
enabled: true
|
||||||
# 设置 Spring Boot Admin Server 地址
|
# 设置 Spring Boot Admin Server 地址
|
||||||
url: http://localhost:9090/admin
|
url: http://172.16.0.151:9090/admin
|
||||||
instance:
|
instance:
|
||||||
service-host-type: IP
|
service-host-type: IP
|
||||||
username: ruoyi
|
username: ruoyi
|
||||||
|
@ -2,9 +2,9 @@ oms.env=prod
|
|||||||
|
|
||||||
####### Database properties(Configure according to the the environment) #######
|
####### Database properties(Configure according to the the environment) #######
|
||||||
spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ruoyi-flex?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
spring.datasource.core.jdbc-url=jdbc:mysql://172.16.0.151:3306/ruoyi-flex?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
spring.datasource.core.username=root
|
spring.datasource.core.username=root
|
||||||
spring.datasource.core.password=Root@369
|
spring.datasource.core.password=root
|
||||||
spring.datasource.core.maximum-pool-size=20
|
spring.datasource.core.maximum-pool-size=20
|
||||||
spring.datasource.core.minimum-idle=5
|
spring.datasource.core.minimum-idle=5
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ spring.datasource.core.minimum-idle=5
|
|||||||
# 客户端开关
|
# 客户端开关
|
||||||
spring.boot.admin.client.enabled=true
|
spring.boot.admin.client.enabled=true
|
||||||
# 设置 Spring Boot Admin Server 地址
|
# 设置 Spring Boot Admin Server 地址
|
||||||
spring.boot.admin.client.url: http://localhost:9090/admin
|
spring.boot.admin.client.url: http://172.16.0.151:9090/admin
|
||||||
spring.boot.admin.client.instance.service-host-type=IP
|
spring.boot.admin.client.instance.service-host-type=IP
|
||||||
spring.boot.admin.client.username=ruoyi
|
spring.boot.admin.client.username=ruoyi
|
||||||
spring.boot.admin.client.password=123456
|
spring.boot.admin.client.password=123456
|
||||||
|
Loading…
Reference in New Issue
Block a user