mirror of
https://gitee.com/republicline/rax-remote-v2.git
synced 2025-08-24 06:04:57 +08:00
yml结构更改为prod和dev
This commit is contained in:
parent
56adadb7b6
commit
1ff0e2a92a
|
@ -1,29 +1,8 @@
|
||||||
server:
|
|
||||||
# port: 6379
|
|
||||||
port: 9999
|
|
||||||
servlet:
|
|
||||||
context-path: /admin
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
profiles:
|
||||||
|
active: prod
|
||||||
application:
|
application:
|
||||||
name: @project.artifactId@
|
name: @project.artifactId@
|
||||||
# 缓存相关配置
|
|
||||||
cache:
|
|
||||||
type: redis
|
|
||||||
data:
|
|
||||||
redis:
|
|
||||||
host: 192.168.65.130
|
|
||||||
# host: localhost
|
|
||||||
# port: 6378
|
|
||||||
# 数据库相关配置
|
|
||||||
datasource:
|
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
||||||
username: root
|
|
||||||
password: root
|
|
||||||
url: jdbc:mysql://192.168.65.130:3306/rax_backend?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true
|
|
||||||
# username: root
|
|
||||||
# password: Xg137839
|
|
||||||
# url: jdbc:mysql://110.41.142.124:3306/rax_backend?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true
|
|
||||||
# 定时任务属性配置
|
# 定时任务属性配置
|
||||||
quartz:
|
quartz:
|
||||||
properties:
|
properties:
|
||||||
|
@ -87,7 +66,6 @@ security:
|
||||||
- /hospital/getHospitalList
|
- /hospital/getHospitalList
|
||||||
# 临时白名单
|
# 临时白名单
|
||||||
|
|
||||||
|
|
||||||
#--------------如下配置尽量不要变动-------------
|
#--------------如下配置尽量不要变动-------------
|
||||||
# mybatis-plus 配置
|
# mybatis-plus 配置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
|
@ -105,6 +83,67 @@ mybatis-plus:
|
||||||
call-setters-on-nulls: true
|
call-setters-on-nulls: true
|
||||||
shrink-whitespaces-in-sql: true
|
shrink-whitespaces-in-sql: true
|
||||||
|
|
||||||
|
---
|
||||||
|
spring:
|
||||||
|
config:
|
||||||
|
activate:
|
||||||
|
on-profile: prod
|
||||||
|
# 缓存相关配置
|
||||||
|
cache:
|
||||||
|
type: redis
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: localhost
|
||||||
|
port: 6378
|
||||||
|
# 数据库相关配置
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
username: root
|
||||||
|
password: Xg137839
|
||||||
|
url: jdbc:mysql://110.41.142.124:3306/rax_backend?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true
|
||||||
|
|
||||||
|
server:
|
||||||
|
port: 6379
|
||||||
|
servlet:
|
||||||
|
context-path: /admin
|
||||||
|
|
||||||
|
vital-sign:
|
||||||
|
except-database: admin,config,local
|
||||||
|
information-database: information
|
||||||
|
mongodb:
|
||||||
|
host: localhost:27017
|
||||||
|
password: Xg137839mg
|
||||||
|
username: useradmin
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
host: 110.41.142.124:3306
|
||||||
|
password: Xg137839
|
||||||
|
username: root
|
||||||
|
|
||||||
|
---
|
||||||
|
spring:
|
||||||
|
config:
|
||||||
|
activate:
|
||||||
|
on-profile: dev
|
||||||
|
# 缓存相关配置
|
||||||
|
cache:
|
||||||
|
type: redis
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: 192.168.65.130
|
||||||
|
|
||||||
|
# 数据库相关配置
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
username: root
|
||||||
|
password: root
|
||||||
|
url: jdbc:mysql://192.168.65.130:3306/rax_backend?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true
|
||||||
|
|
||||||
|
server:
|
||||||
|
port: 9999
|
||||||
|
servlet:
|
||||||
|
context-path: /admin
|
||||||
|
|
||||||
vital-sign:
|
vital-sign:
|
||||||
except-database: admin,config,local
|
except-database: admin,config,local
|
||||||
information-database: information
|
information-database: information
|
||||||
|
@ -112,14 +151,8 @@ vital-sign:
|
||||||
host: 192.168.65.130:27017
|
host: 192.168.65.130:27017
|
||||||
password: root
|
password: root
|
||||||
username: root
|
username: root
|
||||||
# host: localhost:27017
|
|
||||||
# password: Xg137839mg
|
|
||||||
# username: useradmin
|
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
# host: 192.168.65.130:3306
|
host: 192.168.65.130:3306
|
||||||
# password: root
|
password: root
|
||||||
# username: root
|
username: root
|
||||||
host: 110.41.142.124:3306
|
|
||||||
password: Xg137839
|
|
||||||
username: root
|
|
Loading…
Reference in New Issue
Block a user