forked from mynaparrot/plugNmeet-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_sample.yaml
115 lines (115 loc) · 3.69 KB
/
config_sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
client:
port: 8080
debug: true
path: "/app/client/dist"
## this will require during authentication. Use random secret.
# openssl rand -hex 32
# OR
# cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 36 | head -n 1
api_key: "plugnmeet"
secret: "zumyyYWqv7KR2kUqvYdq4z4sXg7XTBD2ljT6"
webhook_conf:
# enable webhook. This will post response for different events
enable: false
# set url bellow. This will be use as global.
# this is optional
url: ""
# During create room you can set custom hook URL too.
# if you set enable_for_per_meeting: true
# then extra post response will send in that address too
enable_for_per_meeting: false
prometheus:
enable: false
metrics_path: "/metrics"
proxy_header: "" ## you can set X-Forwarded-For
copyright_conf:
display: true
text: 'Powered by <a href="https://www.plugnmeet.org" target="_blank">plugNmeet</a>'
room_default_settings:
max_duration: 0 # Duration in minutes. 0 = no limit
max_participants: 0 # 0 = no limit
log_settings:
log_file: "./log/plugNmeet.log"
# maxsize of log file in MB
maxsize: 20
maxbackups: 4
# max age of log before rotate in days
maxage: 2
livekit_info:
host: "http://host.docker.internal:7880"
api_key: "APIiYAA5w37Cfo2"
secret: "6aNur7qqupeZhFYNOJVUyeXxXhVw8f4lm13pEDUx8SgB"
# value in minutes. Default 10 minutes. Client will renew token automatically
token_validity: 10m
redis_info:
host: redis:6379
username: ""
password: ""
db: 0
# use_tls: false
# To use sentinel remove the host key above and add the following
# sentinel_master_name: plugnmeet
# sentinel_addresses:
# - redis-sentinel-host-1:26379
# - redis-sentinel-host-2:26379
# - redis-sentinel-host-3:26379
# If you use a different set of credentials for sentinel add
# sentinel_username: user
# sentinel_password: pass
mysql_info:
host: db
port: 3306
username: "root"
password: "12345"
db: "plugnmeet"
prefix: "pnm_"
upload_file_settings:
path: "./upload"
# file size in MB. Default 10MB
max_size: 10
# By default, files will be deleted as soon as the session will be finish.
# You can set it true to disable deleting files.
keep_forever: false
allowed_types:
- "jpg"
- "jpeg"
- "png"
- "svg"
- "pdf"
- "docx"
- "zip"
recorder_info:
# this value should be same as recorder's copy_to_dir path
recording_files_path: "/app/recording_files"
token_validity: 30m
shared_notepad:
enabled: true
# multiple hosts can be added here
# server will be selected based on load
# the value of id should be unique
etherpad_hosts:
-
id: "node_01"
host: "http://host.docker.internal:9001"
api_key: "eb2fb3fb78ca29eb6896852517d34a1be5f320664e3cce3a522a06dfa278f169"
azure_cognitive_services_speech:
enabled: false
# The Maximum number of translation languages allows selecting. Default: 2
# The pricing will be different if allow more languages. Please check azure pricing.
max_num_tran_langs: 2
subscription_keys:
-
id: "key_1"
# https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-text-to-speech?pivots=programming-language-go&tabs=linux%2Cterminal#prerequisites
subscription_key: "your_key_here"
service_region: westus2
# Azure has limit to max concurrent connection for single key.
# you should communicate with azure to know your limit. Default 20
max_connection: 20
analytics_settings:
enabled: true
# if you've multiple plugNmeet servers then make sure that
# all plugNmeet servers can access this directory
# otherwise it may fail to fetch file. This path can be NSF or other network path
files_store_path: ./analytics
token_validity: 30m