application-dev.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright 2016-present the original author or authors.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # https://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. # Development environment, customizable configuration
  17. spring:
  18. env: dev
  19. group: admin
  20. redis:
  21. host: ${REDIS_HOST:dc3-redis}
  22. port: ${REDIS_PORT:36379}
  23. password: ${REDIS_PASSWORD:dc3}
  24. cache:
  25. redis:
  26. time-to-live: ${CACHE_REDIS_TIME_TO_LIVE:5S}
  27. cloud:
  28. #begin
  29. #取消服务注册
  30. service-registry:
  31. auto-registration:
  32. enabled: false
  33. #end
  34. # nacos:
  35. # discovery:
  36. # group: ${spring.group}
  37. # watch-delay: 5000
  38. # username: dc3
  39. # password: dc3
  40. # #服务器配置
  41. # server-addr: 127.0.0.1:8849
  42. nacos:
  43. discovery:
  44. enabled: false