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:3306/spring_boot?useUnicode=true&characterEncoding=utf8&useSSL=false spring.datasource.url=jdbc:mysql://127.0.0.1:3305/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=6379 # 这里填写你的服务器地址 spring.data.redis.host=127.0.0.1 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 # 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