Skip to content
Snippets Groups Projects
Commit dea26440 authored by Christian Elberfeld's avatar Christian Elberfeld
Browse files

matterbridge media download

parent 67e986b2
No related branches found
No related tags found
No related merge requests found
......@@ -23,3 +23,10 @@
return 301 https://api.warpzone.ms/$part;
}
# Matterbridge Media Files
location /matterbridge/ {
alias /srv/matterbridge/media/;
}
......@@ -22,6 +22,15 @@
path: "/srv/matterbridge/etc"
state: "directory"
- name: create folder struct
file:
path: "/srv/matterbridge/media"
state: "directory"
# Cleanup für Media-Dateien
- name: Cronjob für cleanup
cron: name="matterbridge-media-cleanup" weekday="*" hour="0" minute="0" job="/usr/bin/find /srv/matterbridge/media -mindepth 1 -mtime +30 -delete"
# Konfigurationsdateien erstellen
......
......@@ -16,4 +16,5 @@ services:
restart: always
volumes:
- /srv/matterbridge/etc/matterbridge_wz.toml:/matterbridge.toml
- /srv/matterbridge/media/:/media/
......@@ -157,6 +157,10 @@ StripNick=false
#OPTIONAL (default empty)
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
# Media Download, see https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-[advanced]#use-local-download
MediaDownloadPath="/media/"
MediaServerDownload="https://www.warpzone.ms/matterbridge/"
###################################################################
#Gateway configuration
###################################################################
......@@ -196,4 +200,4 @@ enable=true
[[gateway.inout]]
## Raum auf dem Warpzone Matrix Server
account="matrix.warpzone"
channel="#bridge-test:matrix.warpzone.ms"
channel="#bridge-test:{{ matrix.domain }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment