######################################################## ### Spring Cloud \u57FA\u672C\u914D\u7F6E\uFF1B ######################################################## spring.application.name=springboot-base ######################################################## ### MYSQL\u57FA\u672C\u914D\u7F6E\uFF1B ######################################################## #prd spring.datasource.url=jdbc:mysql://rm-2ze7x5d259k389c208o.mysql.rds.aliyuncs.com/springboot_base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true spring.datasource.username=efunbox spring.datasource.password=wo3^C@6ImAhr spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.jpa.properties.hibernate.hbm2ddl.auto=update spring.jpa.properties.hibernate.format_sql=true spring.jpa.show-sql=false ######################################################## ### REDIS (RedisProperties) redis\u57FA\u672C\u914D\u7F6E\uFF1B ######################################################## # prd Redis\u6570\u636E\u5E93\u7D22\u5F15\uFF08\u9ED8\u8BA4\u4E3A0\uFF09 spring.redis.database=5 # Redis\u670D\u52A1\u5668\u5730\u5740 spring.redis.host=r-2zejxpj3s868rovvex.redis.rds.aliyuncs.com # Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3 spring.redis.port=6379 # Redis\u670D\u52A1\u5668\u8FDE\u63A5\u5BC6\u7801\uFF08\u9ED8\u8BA4\u4E3A\u7A7A\uFF09 spring.redis.password=6N*bfHVlR!FEejZV # \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09 spring.redis.jedis.pool.max-active=8 # \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09 spring.redis.jedis.pool.max-wait=-1 # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5 spring.redis.jedis.pool.max-idle=8 # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5 spring.redis.jedis.pool.min-idle=0 # \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09 spring.redis.timeout=1000 # \u6267\u884C\u5F02\u6B65\u4EFB\u52A1\u7684 \u7EBF\u7A0B\u6C60\u5927\u5C0F schedule.threadPoolAsyncTaskExecutor.thread.size= 16 management.endpoint.health.show-details=always management.endpoint.prometheus.enabled=true management.endpoints.web.exposure.include=* management.metrics.tags.application=${spring.application.name}