Matrix: Add Telegram bridge
This commit is contained in:
parent
f6856454e8
commit
2ce08473c6
3 changed files with 29 additions and 0 deletions
|
@ -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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
BIN
secret/container/webserver/config/matrix/telegram.yaml
Normal file
BIN
secret/container/webserver/config/matrix/telegram.yaml
Normal file
Binary file not shown.
Loading…
Reference in a new issue