nacos加入到项目当中

This commit is contained in:
dengqichen 2024-08-26 14:02:42 +08:00
parent 05a4c87022
commit aaacbc9c3f
2 changed files with 12 additions and 1 deletions

View File

@ -4,4 +4,15 @@ spring:
application:
name: deploy-ease-tenant-adapter-${TENANT_CODE}
autoconfigure:
exclude: org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration
exclude: org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration
redis:
enabled: true
host: localhost
port: 6379
database: 0
lettuce:
pool:
max-active: 30
max-idle: 8
min-idle: 0
max-wait: 1ms