spring.application.name=VideoTablet server.port=8088 ## mysql 数据连接信息 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://139.199.77.221:13306/video_tablet_db?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true spring.datasource.username=tt spring.datasource.password=fanhuitong # redis基础配置 # 0也是默认值,表示你要操控的 Redis 上的哪个数据库 spring.data.redis.database=0 # 6379也是默认值,表示 Redis 端口 spring.data.redis.port=16379 # 这里填写你的服务器地址 spring.data.redis.host=139.199.77.221 spring.data.redis.password=fanhuitong # 可省略 spring.data.redis.lettuce.pool.min-idle=5 spring.data.redis.lettuce.pool.max-idle=10 spring.data.redis.lettuce.pool.max-active=8 spring.data.redis.lettuce.pool.max-wait=1ms spring.data.redis.lettuce.shutdown-timeout=100ms #MongoDB spring.data.mongodb.uri=mongodb://fht:fanhuitong@139.199.77.221:27027/device_apks?authSource=admin&connectTimeoutMS=5000 # Hibernate配置 #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true jwt.secret='wPQ1qRFo4YbuA849tmwKnDpQ8891vJBo' # 可选,根据你的需要设置过期时间 jwt.access-expire=86400000 jwt.refresh-expire=2592000000 jwt.tablet.secret='Your256BitSecretKeyMustBeAtLeast32BytesLong!' # 指定日志文件名(项目根目录生成) logging.file.name=log/onekeycall_video_tablet.log # 或指定日志目录(目录下生成 spring.log) logging.file.path=/var/log/onekeycall # 设置日志级别 logging.level.root=INFO logging.level.com.example=DEBUG # 自定义日志格式 logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n logging.pattern.file=%d{yyyy-MM-dd} [%thread] %-5level %logger - %msg%n # 日志文件切割(默认10MB分割,保留7天) logging.logback.rollingpolicy.max-file-size=10MB logging.logback.rollingpolicy.max-history=30 logging.level.com.onekeycall.videotablet.filter=DEBUG logging.level.org.springframework.security=DEBUG mybatis.type-aliases-package=com.onekeycall.videotablet.entity mybatis.mapperLocations=classpath:mapper/*.xml file.upload-dir-unix=/data/uploads file.upload-dir-windows=uploadFile