summaryrefslogtreecommitdiffstats
path: root/pillar/id/dericom02_rigel_lysergic_dev.sls
blob: 61dcbc416dc6aab7c425dc80c895bf7f4155c6df (plain)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
{%- set mediapath = '/srv/matterbridge/' -%}

{%- macro discord_common() -%}
            AutoWebhooks: true
            EditSuffix: '(edited)'
            RemoteNickFormat: '[{PROTOCOL}]:{NICK} '
{%- endmacro -%}

profile:
  matterbridge:
    instances:
      libertacasa-general:
        general:
          MediaDownloadSize: 1000000000
          MediaDownloadPath: {{ mediapath }}libertacasa-general
          MediaServerDownload: https://load.casa
        accounts:
          irc.libertacasa:
            Server: irc.liberta.casa:6697
            UseTLS: true
            UseSASL: true
            Nick: viaduct
            NickServNick: viaduct
            NickServPassword: ${'secret_matterbridge:general:accounts:irc.libertacasa:NickServPassword'}
            ColorNicks: true
            Charset: utf8 
            MessageSplit: true
            MessageQueue: 60
            UseRelayMsg: true
            RemoteNickFormat: '{NICK}/{LABEL}'
          xmpp.libertacasa:
            Server: xmpp.liberta.casa:5222
            Jid: viaduct@liberta.casa
            Password: ${'secret_matterbridge:general:accounts:xmpp.libertacasa:Password'}
            Muc: muc.liberta.casa
            Nick: viaduct
            RemoteNickFormat: '[{PROTOCOL}] <{NICK}>'
            Label: x
            Debug: true
          telegram.libertacasa:
            Token: ${'secret_matterbridge:general:accounts:telegram.libertacasa:Token'}
            RemoteNickFormat: '&lt;{NICK}&gt; '
            MessageFormat: HTMLNick
            Label: tg
            DisableWebPagePreview: true
          sshchat.Psyched:
            Server: 192.168.0.110:2220
            Nick: LC
            RemoteNickFormat: '{PROTOCOL}:<{NICK}> '
            Label: p
          discord.23:
            Token: ${'secret_matterbridge:general:accounts:discord.23:Token'}
            Server: ${'secret_matterbridge:general:accounts:discord.23:Server'}
            {{ discord_common() }}
          discord.aithunder:
            Token: ${'secret_matterbridge:general:accounts:discord.aithunder:Token'}
            Server: ${'secret_matterbridge:general:accounts:discord.aithunder:Server'}
            {{ discord_common() }}
        gateways:
          libcasa:
            irc.libertacasa: '#libcasa'
            sshchat.Psyched: sshchat
            xmpp.libertacasa: libcasa
          dev:
            irc.libertacasa: '#dev'
            xmpp.libertacasa: dev
          lucy:
            irc.libertacasa: '#lucy'
            xmpp.libertacasa: lucy
          info:
            irc.libertacasa: '#libcasa.info'
            xmpp.libertacasa: libcasa.info
            #telegram.libertacasa: '-1001518274267'
          chat:
            irc.libertacasa: '#chai'
            discord.23: chat
            xmpp.libertacasa: chat
          dota:
            irc.libertacasa: '#dotes'
            discord.23: dotes
            xmpp.libertacasa: dota
          aithunder:
            irc.libertacasa: '#aithunder'
            discord.aithunder: main-chat
            xmpp.libertacasa: aithunder

      libertacasa-irc:
        general:
          RemoteNickFormat: '{NOPINGNICK}/{LABEL}: '
          IgnoreFailureOnStart: true
          MessageSplit: true
          MediaDownloadSize: 1000000000
          MediaDownloadPath: {{ mediapath }}libertacasa-irc
          MediaServerDownload: https://irc.load.casa
        accounts:
          irc.libertacasa:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.libertacasa:NickServPassword'}
            Server: irc.liberta.casa:6697
            UseTLS: true
            UseSASL: true
            Label: libcasa
            Charset: utf8
            IgnoreNicks: HistServ
            UseRelayMsg: true
            RemoteNickFormat: '{NICK}/{LABEL}'
          irc.chillnet:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.chillnet:NickServPassword'}
            Server: irc.chillnet.org:6697
            UseTLS: true
            UseSASL: true
            Label: chillnet
            Charset: utf8
            IgnoreNicks: HistServ
            UseRelayMsg: true
            RemoteNickFormat: '{NICK}/{LABEL}'
          irc.ergo:
            Nick: LCIRCrelay
            NickServNick: LCIRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.ergo:NickServPassword'}
            Server: irc.ergo.chat:6697
            UseTLS: true
            UseSASL: true
            Label: ergochat
            Charset: utf8
            IgnoreNicks: HistServ
            UseRelayMsg: true
            RemoteNickFormat: '{NICK}/{LABEL}'
          irc.2600:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.2600:NickServPassword'}
            Server: irc.2600.net:6697
            UseTLS: true
            SkipTLSVerify: true
            Label: 2600net
            Charset: utf8
          irc.dosers:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.dosers:NickServPassword'}
            Server: irc.dosers.net:6697
            UseTLS: true
            UseSASL: true
            Label: dosers
            Charset: utf8
          irc.rizon:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.rizon:NickServPassword'}
            Server: irc.rizon.net:6697
            UseTLS: true
            UseSASL: true
            Label: rizon
            Charset: utf8
          irc.nerds:
            Nick: LCRelay
            NickServNick: LCRelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.nerds:NickServPassword'}
            Server: irc6.irc-nerds.net:6697
            UseTLS: true
            UseSASL: true
            Label: nerds
            Charset: utf8
          irc.oftc:
            Nick: IRCrelay
            NickServNick: IRCrelay
            Server: irc.oftc.net:6697
            UseTLS: true
            Label: oftc
            Charset: utf8
          irc.libera:
            Nick: IRCrelay
            NickServNick: IRCrelay
            NickServPassword: ${'secret_matterbridge:irc:accounts:irc.libera:NickServPassword'}
            Server: irc.eu.libera.chat:6697
            UseTLS: true
            UseSASL: true
            Label: libera
            Charset: utf8
          irc.stardust:
            Nick: IRCrelay
            Server: irc.stardust.cx:6697
            UseTLS: true
            Charset: utf8
            Label: stardust
            # ugly but requested
            RemoteNickFormat: '[{LABEL}] <{NICK}> '
        gateways:
          main:
            irc.libertacasa: '#libcasa'
            irc.2600: '#libcasa'
            irc.nerds: '#praxis'
            irc.libera: '#libcasa'
            irc.oftc: '#libcasa'
            irc.dosers: '#libcasa'
            irc.rizon: '#praxis'
          lucy:
            irc.libertacasa: '#lucy'
            irc.dosers: '#lucy'
          libcasainfo:
            irc.libertacasa: '#libcasa.info'
            irc.ergo: '#libcasa.info'
            irc.libera: '#libcasa.info'
            irc.oftc: '#libcasa.info'
          ircv5:
            irc.libertacasa: '#ircv5'
            irc.libera: '#ircv5'
            irc.oftc: '#ircv5'
          nerds:
            irc.libertacasa: '#nerds'
            irc.nerds: '#nerds'
          chillops:
            irc.libertacasa: '#chillops'
            irc.chillnet: '#chillops'
            irc.stardust: '#chillnet-test'
          music:
            irc.libertacasa: '#music'
            irc.chillnet: '#music'
            irc.stardust: '#music'

  lighttpd:
    vhosts:
      matterbridge-general:
        host: 'libertacasa-general\.matterbridge\.dericom02\.rigel\.lysergic\.dev'
        root: {{ mediapath }}libertacasa-general
      matterbridge-irc:
        host: 'libertacasa-irc\.matterbridge\.dericom02\.rigel\.lysergic\.dev'
        root: {{ mediapath }}libertacasa-irc