修复配置文件中存在的问题

This commit is contained in:
75681 2025-08-13 13:48:06 +08:00
parent 1a971abbb1
commit 11966cade9
3 changed files with 8 additions and 3 deletions

View File

@ -7,13 +7,15 @@ logging:
spring: spring:
datasource: datasource:
youfool: youfool:
url: jdbc:postgresql://172.22.80.157:5432/devops_gd?currentSchema=dev url: jdbc:postgresql://172.22.80.157:5432/devops_gd
username: devops_gd username: devops_gd
password: ChinaWeal@2024 password: ChinaWeal@2024
devops: devops:
url: jdbc:postgresql://172.22.80.157:5432/devops_gd?currentSchema=dev url: jdbc:postgresql://172.22.80.157:5432/devops_gd
username: devops_gd username: devops_gd
password: ChinaWeal@2024 password: ChinaWeal@2024
main: main:
# Spring Boot 2.7+新增:允许循环依赖(临时修复,后续需重构代码消除循环依赖) # Spring Boot 2.7+新增:允许循环依赖(临时修复,后续需重构代码消除循环依赖)
allow-circular-references: true allow-circular-references: true

View File

@ -19,6 +19,9 @@ spring:
url: jdbc:postgresql://localhost:5432/devops_gd url: jdbc:postgresql://localhost:5432/devops_gd
username: postgres username: postgres
password: 123456 password: 123456
main:
# Spring Boot 2.7+新增:允许循环依赖(临时修复,后续需重构代码消除循环依赖)
allow-circular-references: true
file: file:
devopsDir: ./upload devopsDir: ./upload

View File

@ -3,7 +3,7 @@ logging:
root: info root: info
spring: spring:
profiles: profiles:
active: prod active: local
application: application:
name: youfoo-devops name: youfoo-devops
datasource: datasource: