diff --git a/inventory-gov/src/main/resources/application-dev.yml b/inventory-gov/src/main/resources/application-dev.yml index 5dee1d0..2dcb6f4 100644 --- a/inventory-gov/src/main/resources/application-dev.yml +++ b/inventory-gov/src/main/resources/application-dev.yml @@ -7,6 +7,21 @@ spring: enabled: true max-file-size: 50MB max-request-size: 100MB + redis: + host: 42.193.40.239 + Auth: redis@rzyc123456 + # 进入哨兵项目-这个端口就不用了,除非是单体 + # port: 6379 + sentinel: + master: mymaster + nodes: 42.193.40.239:26379,42.193.40.239:26380,42.193.40.239:26381 + lettuce: + pool: + max-active: 8 + max-idle: 8 + min-idle: 0 + max-wait: 100 + shutdown-timeout: 50000 mvc: view: prefix: classpath:/templates/