@drumee/setup-infra 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-local-certs +38 -0
- package/bin/env +8 -5
- package/bin/init-acme +23 -4
- package/bin/init-named +1 -1
- package/bin/install +28 -4
- package/bin/prosody +21 -12
- package/index.js +314 -218
- package/package.json +2 -2
- package/templates/etc/bind/named.conf.local +39 -0
- package/templates/etc/bind/named.conf.options +13 -4
- package/templates/etc/dhcp/dhclient.conf +55 -0
- package/templates/etc/drumee/certs/jitsi.private.cnf +13 -0
- package/templates/etc/drumee/certs/private.cnf +13 -0
- package/templates/etc/drumee/conf.d/conference.private.json +9 -0
- package/templates/etc/drumee/conf.d/conference.public.json +9 -0
- package/templates/etc/drumee/conf.d/myDrumee.json.tpl +2 -1
- package/templates/etc/drumee/drumee.sh.tpl +32 -17
- package/templates/etc/drumee/infrastructure/internals/accel.private.conf.tpl +47 -0
- package/templates/etc/drumee/infrastructure/internals/{accel.conf.tpl → accel.public.conf.tpl} +1 -1
- package/templates/etc/drumee/infrastructure/{platform.json.tpl → mfs.private.conf.tpl} +5 -5
- package/templates/etc/drumee/infrastructure/{mfs.conf.tpl → mfs.public.conf.tpl} +1 -1
- package/templates/etc/drumee/infrastructure/routes/private.conf.tpl +143 -0
- package/templates/etc/drumee/infrastructure/routes/{main.conf.tpl → public.conf.tpl} +18 -28
- package/templates/etc/drumee/infrastructure/servers/tt.conf +9 -9
- package/templates/etc/drumee/ssl/private.conf.tpl +2 -1
- package/templates/etc/drumee/ssl/public.conf.tpl +1 -1
- package/templates/etc/jitsi/jicofo/jicofo.private.conf.tpl +46 -0
- package/templates/etc/jitsi/jicofo/{jicofo.conf.tpl → jicofo.public.conf.tpl} +7 -7
- package/templates/etc/jitsi/jicofo/sip-cmmunicator.private.properties +3 -0
- package/templates/etc/jitsi/jicofo/sip-cmmunicator.public.properties +3 -0
- package/templates/etc/jitsi/meet.private.conf.tpl +132 -0
- package/templates/etc/jitsi/{meet.conf.tpl → meet.public.conf.tpl} +5 -5
- package/templates/etc/jitsi/ssl.private.conf.tpl +25 -0
- package/templates/etc/jitsi/{ssl.conf.tpl → ssl.public.conf.tpl} +3 -3
- package/templates/etc/jitsi/videobridge/defaults/jvb.conf +1 -1
- package/templates/etc/jitsi/videobridge/jvb.private.conf +67 -0
- package/templates/etc/jitsi/videobridge/{jvb.conf → jvb.public.conf} +6 -6
- package/templates/etc/jitsi/web/config.private.js.tpl +208 -0
- package/templates/etc/jitsi/web/{config.js.tpl → config.public.js.tpl} +4 -4
- package/templates/etc/jitsi/web/defaults/default +2 -2
- package/templates/etc/jitsi/web/defaults/meet.conf +3 -3
- package/templates/etc/mysql/mariadb.conf.d/50-server.cnf +3 -3
- package/templates/etc/nginx/modules-enabled/{90-turn-relay.conf → 90-turn-relay.private.conf.tpl} +6 -6
- package/templates/etc/nginx/modules-enabled/{90-turn-relay.conf.tpl → 90-turn-relay.public.conf.tpl} +4 -4
- package/templates/etc/nginx/nginx.conf +3 -1
- package/templates/etc/nginx/sites-enabled/{public.conf.tpl → 01-public.conf.tpl} +7 -7
- package/templates/etc/nginx/sites-enabled/{private.conf.tpl → 02-private.conf.tpl} +6 -6
- package/templates/etc/nginx/sites-enabled/{jitsi.conf.tpl → 20-jitsi.private.conf.tpl} +9 -9
- package/templates/etc/nginx/sites-enabled/{pivate.jitsi.conf.tpl → 20-jitsi.public.conf.tpl} +9 -9
- package/templates/etc/nginx/sites-enabled/{localhost.conf → loopback.tpl} +10 -9
- package/templates/etc/nginx/sites-enabled/turnrelay.conf.tpl +4 -4
- package/templates/etc/prosody/conf.d/private.cfg.lua.tpl +51 -51
- package/templates/etc/prosody/conf.d/public.cfg.lua.tpl +47 -47
- package/templates/etc/prosody/defaults/conf.d/jitsi-meet.cfg.lua +3 -3
- package/templates/etc/turnserver.private.conf.tpl +46 -0
- package/templates/etc/{turnserver.conf.tpl → turnserver.public.conf.tpl} +3 -3
- package/templates/index.js +3 -2
- package/templates/utils.js +22 -147
- package/templates/var/lib/bind/domain.tpl +70 -0
- package/templates/var/lib/bind/private-reverse.tpl +1 -1
- package/templates/var/lib/bind/{prvate.tpl → private.tpl} +1 -10
- package/templates/var/lib/bind/public-reverse.tpl +7 -7
- package/templates/var/lib/bind/public.tpl +7 -7
- package/bin/init-private +0 -40
- package/bin/set-jitsi-conf +0 -14
- package/template.js +0 -453
- package/templates/etc/bind/named.conf.private +0 -21
- package/templates/etc/bind/named.conf.public +0 -21
- package/templates/etc/drumee/conf.d/conference.json.tpl +0 -9
- package/templates/etc/drumee/dnsapi.sh.tpl +0 -28
- package/templates/etc/drumee/env.json +0 -29
- package/templates/etc/jitsi/jicofo/sip-cmmunicator.properties +0 -3
- package/templates/etc/nginx/sites-enabled/public.jitsi.conf.tpl +0 -28
- package/templates/etc/prosody/conf.d/vhost.cfg.lua.tpl +0 -162
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
admins = {
|
|
2
|
-
"jigasi@auth.<%= jitsi_domain %>",
|
|
3
|
-
"jibri@auth.<%= jitsi_domain %>",
|
|
4
|
-
"focus@auth.<%= jitsi_domain %>",
|
|
5
|
-
"jvb@auth.<%= jitsi_domain %>"
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
unlimited_jids = {
|
|
9
|
-
"focus@auth.<%= jitsi_domain %>",
|
|
10
|
-
"jvb@auth.<%= jitsi_domain %>"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/", "/prosody-plugins-custom" }
|
|
14
|
-
|
|
15
|
-
muc_mapper_domain_base = "<%= jitsi_domain %>";
|
|
16
|
-
muc_mapper_domain_prefix = "muc";
|
|
17
|
-
http_default_host = "<%= jitsi_domain %>"
|
|
18
|
-
consider_bosh_secure = true;
|
|
19
|
-
consider_websocket_secure = true;
|
|
20
|
-
|
|
21
|
-
VirtualHost "<%= jitsi_domain %>"
|
|
22
|
-
authentication = "internal_hashed"
|
|
23
|
-
ssl = {
|
|
24
|
-
key = "<%= certs_dir %>/<%= jitsi_domain %>_ecc/<%= jitsi_domain %>.key";
|
|
25
|
-
certificate = "<%= certs_dir %>/<%= jitsi_domain %>_ecc/<%= jitsi_domain %>.cer";
|
|
26
|
-
}
|
|
27
|
-
modules_enabled = {
|
|
28
|
-
"bosh";
|
|
29
|
-
"websocket";
|
|
30
|
-
"smacks"; -- XEP-0198: Stream Management
|
|
31
|
-
"pubsub";
|
|
32
|
-
"ping";
|
|
33
|
-
"speakerstats";
|
|
34
|
-
"conference_duration";
|
|
35
|
-
"room_metadata";
|
|
36
|
-
"end_conference";
|
|
37
|
-
"muc_lobby_rooms";
|
|
38
|
-
"muc_breakout_rooms";
|
|
39
|
-
"av_moderation";
|
|
40
|
-
"turncredentials";
|
|
41
|
-
}
|
|
42
|
-
main_muc = "muc.<%= jitsi_domain %>"
|
|
43
|
-
lobby_muc = "lobby.<%= jitsi_domain %>"
|
|
44
|
-
breakout_rooms_muc = "breakout.<%= jitsi_domain %>"
|
|
45
|
-
speakerstats_component = "speakerstats.<%= jitsi_domain %>"
|
|
46
|
-
conference_duration_component = "conferenceduration.<%= jitsi_domain %>"
|
|
47
|
-
end_conference_component = "endconference.<%= jitsi_domain %>"
|
|
48
|
-
av_moderation_component = "avmoderation.<%= jitsi_domain %>"
|
|
49
|
-
turncredentials_secret = "<%= turn_sercret %>"
|
|
50
|
-
c2s_require_encryption = false
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
VirtualHost "guest.<%= jitsi_domain %>"
|
|
54
|
-
authentication = "anonymous"
|
|
55
|
-
ssl = {
|
|
56
|
-
key = "/usr/share/acme/certs/<%= jitsi_domain %>_ecc/<%= jitsi_domain %>.key";
|
|
57
|
-
certificate = "/usr/share/acme/certs/<%= jitsi_domain %>_ecc/<%= jitsi_domain %>.cer";
|
|
58
|
-
}
|
|
59
|
-
modules_enabled = {
|
|
60
|
-
"bosh";
|
|
61
|
-
"websocket";
|
|
62
|
-
"smacks"; -- XEP-0198: Stream Management
|
|
63
|
-
"pubsub";
|
|
64
|
-
"ping";
|
|
65
|
-
"speakerstats";
|
|
66
|
-
"conference_duration";
|
|
67
|
-
"room_metadata";
|
|
68
|
-
"end_conference";
|
|
69
|
-
"muc_lobby_rooms";
|
|
70
|
-
"muc_breakout_rooms";
|
|
71
|
-
"av_moderation";
|
|
72
|
-
"turncredentials";
|
|
73
|
-
}
|
|
74
|
-
main_muc = "muc.<%= jitsi_domain %>"
|
|
75
|
-
lobby_muc = "lobby.<%= jitsi_domain %>"
|
|
76
|
-
breakout_rooms_muc = "breakout.<%= jitsi_domain %>"
|
|
77
|
-
speakerstats_component = "speakerstats.<%= jitsi_domain %>"
|
|
78
|
-
conference_duration_component = "conferenceduration.<%= jitsi_domain %>"
|
|
79
|
-
end_conference_component = "endconference.<%= jitsi_domain %>"
|
|
80
|
-
av_moderation_component = "avmoderation.<%= jitsi_domain %>"
|
|
81
|
-
turncredentials_secret = "<%= turn_sercret %>"
|
|
82
|
-
c2s_require_encryption = false
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
VirtualHost "auth.<%= jitsi_domain %>"
|
|
86
|
-
ssl = {
|
|
87
|
-
key = "<%= certs_dir %>/<%= jitsi_domain %>_ecc/<%= jitsi_domain %>.key";
|
|
88
|
-
certificate = "<%= certs_dir %>/<%= jitsi_domain %>_ecc/fullchain.cer";
|
|
89
|
-
}
|
|
90
|
-
modules_enabled = {
|
|
91
|
-
"limits_exception";
|
|
92
|
-
}
|
|
93
|
-
authentication = "internal_hashed"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Component "internal-muc.<%= jitsi_domain %>" "muc"
|
|
98
|
-
storage = "memory"
|
|
99
|
-
modules_enabled = {
|
|
100
|
-
"ping";
|
|
101
|
-
}
|
|
102
|
-
restrict_room_creation = true
|
|
103
|
-
muc_room_locking = false
|
|
104
|
-
muc_room_default_public_jids = true
|
|
105
|
-
|
|
106
|
-
Component "muc.<%= jitsi_domain %>" "muc"
|
|
107
|
-
restrict_room_creation = true
|
|
108
|
-
storage = "memory"
|
|
109
|
-
modules_enabled = {
|
|
110
|
-
"muc_meeting_id";
|
|
111
|
-
"polls";
|
|
112
|
-
"muc_domain_mapper";
|
|
113
|
-
"muc_password_whitelist";
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
-- The size of the cache that saves state for IP addresses
|
|
117
|
-
rate_limit_cache_size = 10000;
|
|
118
|
-
muc_room_cache_size = 1000
|
|
119
|
-
muc_room_locking = false
|
|
120
|
-
muc_room_default_public_jids = true
|
|
121
|
-
muc_password_whitelist = {
|
|
122
|
-
"focus@<no value>"
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
Component "focus.<%= jitsi_domain %>" "client_proxy"
|
|
126
|
-
target_address = "focus@auth.<%= jitsi_domain %>"
|
|
127
|
-
|
|
128
|
-
Component "speakerstats.<%= jitsi_domain %>" "speakerstats_component"
|
|
129
|
-
muc_component = "muc.<%= jitsi_domain %>"
|
|
130
|
-
|
|
131
|
-
Component "conferenceduration.<%= jitsi_domain %>" "conference_duration_component"
|
|
132
|
-
muc_component = "muc.<%= jitsi_domain %>"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Component "endconference.<%= jitsi_domain %>" "end_conference"
|
|
136
|
-
muc_component = "muc.<%= jitsi_domain %>"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
Component "lobby.<%= jitsi_domain %>" "muc"
|
|
140
|
-
storage = "memory"
|
|
141
|
-
restrict_room_creation = true
|
|
142
|
-
muc_room_locking = false
|
|
143
|
-
muc_room_default_public_jids = true
|
|
144
|
-
modules_enabled = {
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Component "breakout.<%= jitsi_domain %>" "muc"
|
|
149
|
-
storage = "memory"
|
|
150
|
-
restrict_room_creation = true
|
|
151
|
-
muc_room_locking = false
|
|
152
|
-
muc_room_default_public_jids = true
|
|
153
|
-
modules_enabled = {
|
|
154
|
-
"muc_meeting_id";
|
|
155
|
-
"muc_domain_mapper";
|
|
156
|
-
"polls";
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
Component "metadata.<%= jitsi_domain %>" "room_metadata_component"
|
|
161
|
-
muc_component = "muc.<%= jitsi_domain %>"
|
|
162
|
-
breakout_rooms_component = "breakout.<%= jitsi_domain %>"
|