1
0
Fork 0

Matrix: Add Telegram bridge

This commit is contained in:
Daniel Kempkens 2022-11-11 17:07:21 +01:00
parent f6856454e8
commit 2ce08473c6
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 29 additions and 0 deletions

View file

@ -5,6 +5,7 @@
"d /etc/container-webserver/weewx 0755 421 421" "d /etc/container-webserver/weewx 0755 421 421"
"d /etc/container-webserver/weewx/html 0755 421 421" "d /etc/container-webserver/weewx/html 0755 421 421"
"d /etc/container-matrix/synapse 0755 991 991" "d /etc/container-matrix/synapse 0755 991 991"
"d /etc/container-matrix/telegram 0775 1337 1337"
]; ];
# mosquitto # mosquitto
@ -103,4 +104,13 @@
uid = 991; uid = 991;
gid = 991; gid = 991;
}; };
# Matrix: Telegram
environment.etc."container-matrix/telegram/config.yaml" = {
source = ../../secret/container/webserver/config/matrix/telegram.yaml;
mode = "0640";
uid = 1337;
gid = 1337;
};
} }

View file

@ -162,6 +162,25 @@ in
}; };
}; };
}; };
matrix-telegram = {
service = {
image = "dock.mau.dev/mautrix/telegram:latest";
container_name = "mautrix-telegram";
restart = "unless-stopped";
depends_on = [
"ipv6nat"
"synapse"
];
networks = [ "webserver" ];
volumes = [
"/etc/container-matrix/telegram:/data"
];
labels = {
"com.centurylinklabs.watchtower.enable" = "true";
};
};
};
}; };
networks.webserver = { networks.webserver = {

Binary file not shown.