Set up Mautrix-Telegram bridge
This commit is contained in:
parent
55c0bab404
commit
62e66e4966
|
@ -14,6 +14,8 @@
|
||||||
}];
|
}];
|
||||||
x_forwarded = true;
|
x_forwarded = true;
|
||||||
}];
|
}];
|
||||||
|
app_service_config_files =
|
||||||
|
[ "/var/lib/matrix-synapse/telegram-registration.yaml" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Telegram bridge for Matrix
|
# Telegram bridge for Matrix
|
||||||
|
@ -26,17 +28,11 @@
|
||||||
domain = "coolneng.duckdns.org";
|
domain = "coolneng.duckdns.org";
|
||||||
};
|
};
|
||||||
appservice = {
|
appservice = {
|
||||||
provisioning.enabled = false;
|
address = "http://localhost:8118";
|
||||||
id = "telegram";
|
port = 8118;
|
||||||
public = {
|
|
||||||
enabled = true;
|
|
||||||
prefix = "/public";
|
|
||||||
external = "https://matrix.coolneng.duckdns.org/public";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
bridge = {
|
bridge = {
|
||||||
relaybot.authless_portals = false;
|
permissions = { "@coolneng:coolneng.duckdns.org" = "admin"; };
|
||||||
permissions = { "@admin:matrix.coolneng.duckdns.org" = "admin"; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
serviceDependencies = [ "matrix-synapse.service" ];
|
serviceDependencies = [ "matrix-synapse.service" ];
|
||||||
|
|
|
@ -31,6 +31,7 @@ in {
|
||||||
80 # HTTP
|
80 # HTTP
|
||||||
443 # HTTPS
|
443 # HTTPS
|
||||||
53 # DNS
|
53 # DNS
|
||||||
|
8448 # Matrix
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
1194 # Wireguard
|
1194 # Wireguard
|
||||||
|
|
Loading…
Reference in New Issue