wuwenyi 5 giorni fa
parent
commit
a76a52e9b0
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      src/main/resources/application-prod.yml

+ 6 - 0
src/main/resources/application-prd.yml → src/main/resources/application-prod.yml

@@ -1,3 +1,9 @@
+spring:
+  redis:
+    host: ${SPRING_REDIS_HOST:localhost}
+    port: ${SPRING_REDIS_PORT:6379}
+    password: ${SPRING_REDIS_PASSWORD:}
+
 mybatis-plus:
   mapper-locations: classpath*:/mapper/**/*.xml
   configuration: