# 头程本地公共配置。生产环境不得直接使用本文件中的本地默认密钥。 baiyue: deployment: region-code: ${REGION_CODE:CN} cell: ${DEPLOYMENT_CELL:local-cn} data-residency: ${DATA_RESIDENCY:CN} security: jwt-secret: ${JWT_SECRET:change-me-to-at-least-32-bytes-long-before-start} issuer: ${JWT_ISSUER:auth-service} internal-service-token: ${INTERNAL_SERVICE_TOKEN:phase1-local-internal-token-at-least-32-bytes} token-key-prefix: ${REDIS_TOKEN_KEY_PREFIX:baiyue:auth} openapi.enabled: ${SWAGGER_ENABLED:true} audit.enabled: true spring: jackson: default-property-inclusion: non_null deserialization.fail-on-unknown-properties: false serialization.write-dates-as-timestamps: false data: redis: host: ${REDIS_HOST:127.0.0.1} port: ${REDIS_PORT:6379} password: ${REDIS_PASSWORD:} database: ${REDIS_DATABASE:0} timeout: ${REDIS_TIMEOUT:3s} cloud: nacos.discovery: group: ${NACOS_GROUP:BAIYUE} namespace: ${NACOS_NAMESPACE:public} openfeign: circuitbreaker.enabled: true client.config.default: connect-timeout: 3000 read-timeout: 5000 server.shutdown: graceful management: endpoints.web.exposure.include: health,info,prometheus endpoint.health: probes.enabled: true show-details: always mybatis-plus: configuration: map-underscore-to-camel-case: true call-setters-on-nulls: true log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl global-config: banner: false db-config: id-type: assign_id logic-delete-field: deleted logic-delete-value: 1 logic-not-delete-value: 0 logging: level: com.baiyue.auth.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.iam.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.order.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.firstleg.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.warehouse.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.file.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.print.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.audit.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} com.baiyue.eventbridge.mapper: ${MYBATIS_SQL_LOG_LEVEL:DEBUG} springdoc: api-docs.enabled: ${SWAGGER_ENABLED:true} swagger-ui.enabled: ${SWAGGER_ENABLED:true}