dericom02: manage matterbridge media
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

- move base media directory to variable
- add lighttpd vhosts to pillar

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-02-12 00:51:59 +01:00
parent ab47eb5485
commit 1aacd3f340
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -1,3 +1,5 @@
{%- set mediapath = '/srv/matterbridge/' -%}
{%- macro discord_common() -%} {%- macro discord_common() -%}
AutoWebhooks: true AutoWebhooks: true
EditSuffix: '(edited)' EditSuffix: '(edited)'
@ -10,7 +12,7 @@ profile:
libertacasa-general: libertacasa-general:
general: general:
MediaDownloadSize: 1000000000 MediaDownloadSize: 1000000000
MediaDownloadPath: /srv/matterbridge/libertacasa-general/media MediaDownloadPath: {{ mediapath }}libertacasa-general
MediaServerDownload: https://load.casa MediaServerDownload: https://load.casa
accounts: accounts:
irc.libertacasa: irc.libertacasa:
@ -88,7 +90,7 @@ profile:
IgnoreFailureOnStart: true IgnoreFailureOnStart: true
MessageSplit: true MessageSplit: true
MediaDownloadSize: 1000000000 MediaDownloadSize: 1000000000
MediaDownloadPath: /srv/matterbridge/libertacasa-irc/media MediaDownloadPath: {{ mediapath }}libertacasa-irc
MediaServerDownload: https://irc.load.casa MediaServerDownload: https://irc.load.casa
accounts: accounts:
irc.libertacasa: irc.libertacasa:
@ -219,3 +221,12 @@ profile:
irc.libertacasa: '#music' irc.libertacasa: '#music'
irc.chillnet: '#music' irc.chillnet: '#music'
irc.stardust: '#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