80 lines
2.2 KiB
Nix
80 lines
2.2 KiB
Nix
let
|
|
secret = import ../../secret/container/matrix;
|
|
custom-config = import ./config.nix { inherit secret; };
|
|
in
|
|
{
|
|
virtualisation.arion.projects.matrix.settings = {
|
|
services = {
|
|
matrix-telegram = {
|
|
service = {
|
|
image = "dock.mau.dev/mautrix/telegram:latest";
|
|
container_name = "mautrix-telegram";
|
|
restart = "unless-stopped";
|
|
ports = [ "29317:29317" ];
|
|
volumes = [
|
|
"/etc/container-matrix/telegram:/data"
|
|
];
|
|
labels = {
|
|
"com.centurylinklabs.watchtower.enable" = "true";
|
|
};
|
|
};
|
|
};
|
|
|
|
# signald = {
|
|
# service = {
|
|
# image = "signald/signald:latest";
|
|
# container_name = "signald";
|
|
# restart = "unless-stopped";
|
|
# depends_on = [ "ipv6nat" ];
|
|
# networks = [ "webserver" ];
|
|
# volumes = [
|
|
# "/etc/container-matrix/signald:/signald"
|
|
# ];
|
|
# labels = {
|
|
# "com.centurylinklabs.watchtower.enable" = "true";
|
|
# };
|
|
# };
|
|
# };
|
|
#
|
|
# matrix-signal = {
|
|
# service = {
|
|
# image = "dock.mau.dev/mautrix/signal:latest";
|
|
# container_name = "mautrix-signal";
|
|
# restart = "unless-stopped";
|
|
# depends_on = [
|
|
# "ipv6nat"
|
|
# "synapse"
|
|
# "signald"
|
|
# ];
|
|
# networks = [ "webserver" ];
|
|
# volumes = [
|
|
# "/etc/container-matrix/signal:/data"
|
|
# "/etc/container-matrix/signald:/signald"
|
|
# ];
|
|
# labels = {
|
|
# "com.centurylinklabs.watchtower.enable" = "true";
|
|
# };
|
|
# };
|
|
# };
|
|
#
|
|
# matrix-whatsapp = {
|
|
# service = {
|
|
# image = "dock.mau.dev/mautrix/whatsapp:latest";
|
|
# container_name = "mautrix-whatsapp";
|
|
# restart = "unless-stopped";
|
|
# depends_on = [
|
|
# "ipv6nat"
|
|
# "synapse"
|
|
# ];
|
|
# networks = [ "webserver" ];
|
|
# volumes = [
|
|
# "/etc/container-matrix/whatsapp:/data"
|
|
# ];
|
|
# labels = {
|
|
# "com.centurylinklabs.watchtower.enable" = "true";
|
|
# };
|
|
# };
|
|
# };
|
|
};
|
|
};
|
|
} // custom-config
|