Set up Mautrix-Telegram bridge

This commit is contained in:
coolneng 2021-02-03 18:38:41 +01:00
parent 55c0bab404
commit 62e66e4966
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 9 deletions

View File

@ -14,6 +14,8 @@
}];
x_forwarded = true;
}];
app_service_config_files =
[ "/var/lib/matrix-synapse/telegram-registration.yaml" ];
};
# Telegram bridge for Matrix
@ -26,17 +28,11 @@
domain = "coolneng.duckdns.org";
};
appservice = {
provisioning.enabled = false;
id = "telegram";
public = {
enabled = true;
prefix = "/public";
external = "https://matrix.coolneng.duckdns.org/public";
};
address = "http://localhost:8118";
port = 8118;
};
bridge = {
relaybot.authless_portals = false;
permissions = { "@admin:matrix.coolneng.duckdns.org" = "admin"; };
permissions = { "@coolneng:coolneng.duckdns.org" = "admin"; };
};
};
serviceDependencies = [ "matrix-synapse.service" ];

View File

@ -31,6 +31,7 @@ in {
80 # HTTP
443 # HTTPS
53 # DNS
8448 # Matrix
];
allowedUDPPorts = [
1194 # Wireguard