server: port: 9001 spring: application: name: video-auth cloud: nacos: discovery: server-addr: ${NACOS_HOST:nacos}:${NACOS_PORT:8848} namespace: public group: DEFAULT_GROUP sentinel: transport: dashboard: ${SENTINEL_HOST:sentinel}:${SENTINEL_PORT:8080} port: 8721 eager: true datasource: url: jdbc:mysql://${MYSQL_HOST:mysql}:${MYSQL_PORT:3306}/video_auth?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true username: root password: root driver-class-name: com.mysql.cj.jdbc.Driver data: redis: host: ${REDIS_HOST:redis} port: ${REDIS_PORT:6379} password: redis_EsJ8FX database: 0 timeout: 10000 lettuce: pool: max-active: 200 max-wait: -1 max-idle: 10 min-idle: 0 mybatis-plus: mapper-locations: classpath:mapper/*.xml type-aliases-package: com.nuaa.video.auth.entity configuration: map-underscore-to-camel-case: true cache-enabled: false log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: id-type: auto logic-delete-field: is_deleted logic-delete-value: 1 logic-not-delete-value: 0 jwt: secret: your-secret-key-here-should-be-very-long-and-secure expiration: 86400000 # 24小时 header: Authorization tokenPrefix: Bearer