# # Copyright 2016-present the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Development environment, customizable configuration spring: env: dev group: admin redis: host: ${REDIS_HOST:dc3-redis} port: ${REDIS_PORT:36379} password: ${REDIS_PASSWORD:dc3} cache: redis: time-to-live: ${CACHE_REDIS_TIME_TO_LIVE:5S} cloud: #begin #取消服务注册 service-registry: auto-registration: enabled: false #end # nacos: # discovery: # group: ${spring.group} # watch-delay: 5000 # username: dc3 # password: dc3 # #服务器配置 # server-addr: 127.0.0.1:8849 nacos: discovery: enabled: false