parent
0da4f1f8d4
commit
d1398b5991
|
|
@ -9,7 +9,7 @@ spring:
|
||||||
name: tuoheng-airline
|
name: tuoheng-airline
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: prod
|
||||||
flyway:
|
flyway:
|
||||||
table: flyway_airline_schema_history # 自定义历史表名
|
table: flyway_airline_schema_history # 自定义历史表名
|
||||||
baseline-on-migrate: true # 在nocos中也有配置
|
baseline-on-migrate: true # 在nocos中也有配置
|
||||||
|
|
@ -18,10 +18,10 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 45.120.103.238:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 45.120.103.238:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,9 @@ spring:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://45.120.103.238:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://127.0.0.1:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: password
|
password: Root123
|
||||||
|
|
||||||
# mybatis配置
|
# mybatis配置
|
||||||
mybatis:
|
mybatis:
|
||||||
|
|
@ -46,7 +46,7 @@ mybatis:
|
||||||
|
|
||||||
# springdoc配置
|
# springdoc配置
|
||||||
springdoc:
|
springdoc:
|
||||||
gatewayUrl: http://45.120.103.238:8080/${spring.application.name}
|
gatewayUrl: http://ruoyi-gateway:8080/${spring.application.name}
|
||||||
api-docs:
|
api-docs:
|
||||||
# 是否开启接口文档
|
# 是否开启接口文档
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue