forked from Thirdparty/wvp
1
0
Fork 0
wvp/src/main/resources/application.yml

36 lines
1003 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

spring:
application:
name: wvp
# 数据存储方式暂只支持redis后续支持jdbc
database: redis
redis:
# Redis服务器IP
host: 127.0.0.1
#端口号
port: 6379
datebase: 0
#访问密码,若你的redis服务器没有设置密码就不需要用密码去连接
password:
#超时时间
timeout: 10000
datasource:
name: wcp
url: jdbc:mysql://127.0.0.1:3306/wcp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
username: root
password: 123456
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
server:
port: 8080
sip:
# 本地服务地址
ip: 192.168.0.3
server_id: 34020000002000000001
port: 5060
domain: 34020000
# 暂时使用统一密码,后续改为一机一密
password: admin
media:
# ZLMediaServer IP
ip: 192.168.0.4
port: 10000