diff --git a/agileboot-common/wol-common-redis/src/main/resources/common-cache.yml b/agileboot-common/wol-common-redis/src/main/resources/common-cache.yml index 7c6706e..9a8afff 100644 --- a/agileboot-common/wol-common-redis/src/main/resources/common-cache.yml +++ b/agileboot-common/wol-common-redis/src/main/resources/common-cache.yml @@ -22,7 +22,7 @@ spring: subscriptionConnectionPoolSize: 50 connectionMinimumIdleSize: 24 connectionPoolSize: 64 - database: 0 + database: ${wol.redis.database} dnsMonitoringInterval: 5000 threads: 16 nettyThreads: 32 diff --git a/wol-auth/pom.xml b/wol-auth/pom.xml index ecee2da..c4987ba 100644 --- a/wol-auth/pom.xml +++ b/wol-auth/pom.xml @@ -16,6 +16,10 @@ + + com.agileboot + wol-common-nacos + com.agileboot wol-common-satoken diff --git a/wol-auth/src/main/resources/application.yml b/wol-auth/src/main/resources/application.yml index 5d8c2f0..398d2e6 100644 --- a/wol-auth/src/main/resources/application.yml +++ b/wol-auth/src/main/resources/application.yml @@ -6,6 +6,6 @@ spring: application: name: @application.name@ config: - import: classpath:base.yml + import: classpath:base.yml,classpath:nacos.yml profiles: active: dev diff --git a/wol-auth/src/main/resources/bootstrap.yml b/wol-auth/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..c74ed41 --- /dev/null +++ b/wol-auth/src/main/resources/bootstrap.yml @@ -0,0 +1,5 @@ +spring: + application: + name: @application.name@ + config: + import: classpath:base.yml,classpath:nacos.yml