低空智控平台 后端go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

47 lines
1.0 KiB

api-port: 8080
mysql:
url: root:123456@tcp(127.0.0.1:3306)/laic?charset=utf8mb4&parseTime=True&loc=Local
idle: 10
max-conn: 50
max-wait: 3600
tdengine:
dsn: root:taosdata@ws(127.0.0.1:6041)/laic
redis: redis://127.0.0.1:6379/0
mqtt:
broker: tcp://127.0.0.1:1883
client-id: laic-backend
username: laic
password: ""
jwt:
secret: laic-jwt-secret-change-me
access-expire-hours: 168 # 7 天
refresh-expire-hours: 720 # 30 天
oss:
endpoint: http://127.0.0.1:9000
access-key: minioadmin
secret-key: minioadmin
bucket: laic-media
region: us-east-1
use-ssl: false
live:
mode: fake
provider: fake
push-domain: local-push
play-domain: local-play
app-name: dock-live
auth-expire-seconds: 7200
play-url-ttl-seconds: 300
protocol: srt
srt-port: 1105
max-session-seconds: 7200
viewer-lease-seconds: 30
stop-grace-seconds: 15
reconcile-interval-seconds: 10
record-policy: disabled
allow-real-cloud: false
heartbeat:
timeout-seconds: 30
scan-seconds: 5
log:
level: debug
path: ./logs/