648540858
2022-01-19 e8090bc84c04d929c750338df26aa2bf86e1efc8
src/main/resources/application-docker.yml
@@ -8,14 +8,14 @@
        # [可选] 数据库 DB
        database: ${REDIS_DB:6}
        # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
        password: ${REDIS_PWD:}
        password: ${REDIS_PWD:root}
        # [可选] 超时时间
        timeout: 10000
    # [可选] jdbc数据库配置, 项目使用sqlite作为数据库,一般不需要配置
    datasource:
        # 使用mysql 打开23-28行注释, 删除29-36行
        # name: wvp
        # url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
        # url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&allowMultiQueries=true
        # username:
        # password:
        # type: com.alibaba.druid.pool.DruidDataSource
@@ -26,6 +26,9 @@
        password:
        type: com.alibaba.druid.pool.DruidDataSource
        driver-class-name:  org.sqlite.JDBC
        journal_mode: WAL
        synchronous: NORMAL
        transaction_mode: IMMEDIATE
        max-active: 1
        min-idle: 1
@@ -85,7 +88,7 @@
user-settings:
    # 推流直播是否录制
    record-push-live: true
    auto-apply-play: false
    auto-apply-play: true
# 在线文档: swagger-ui(生产环境建议关闭)
swagger-ui: