parent
0da4f1f8d4
commit
d1398b5991
|
|
@ -9,7 +9,7 @@ spring:
|
|||
name: tuoheng-airline
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
active: prod
|
||||
flyway:
|
||||
table: flyway_airline_schema_history # 自定义历史表名
|
||||
baseline-on-migrate: true # 在nocos中也有配置
|
||||
|
|
@ -18,10 +18,10 @@ spring:
|
|||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 45.120.103.238:8848
|
||||
server-addr: ruoyi-nacos:8848
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 45.120.103.238:8848
|
||||
server-addr: ruoyi-nacos:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ spring:
|
|||
# 主库数据源
|
||||
master:
|
||||
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
|
||||
password: password
|
||||
password: Root123
|
||||
|
||||
# mybatis配置
|
||||
mybatis:
|
||||
|
|
@ -46,7 +46,7 @@ mybatis:
|
|||
|
||||
# springdoc配置
|
||||
springdoc:
|
||||
gatewayUrl: http://45.120.103.238:8080/${spring.application.name}
|
||||
gatewayUrl: http://ruoyi-gateway:8080/${spring.application.name}
|
||||
api-docs:
|
||||
# 是否开启接口文档
|
||||
enabled: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue