Seperated Matrix into logical modules; Added Exporters; Got Filebrowser working
This commit is contained in:
@@ -154,7 +154,8 @@ in
|
||||
8008 # Matrix Synapse
|
||||
8009 # Cinny
|
||||
8010 # Element
|
||||
8011 # :ynapse Admin
|
||||
8011 # Synapse Admin
|
||||
8012 # FluffyChat
|
||||
8448 # Matrix federation
|
||||
3478 # TURN (coturn)
|
||||
];
|
||||
@@ -266,6 +267,18 @@ in
|
||||
root = "${elementWebConfigured}";
|
||||
};
|
||||
|
||||
"fluffy.cyperpunk.de" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8012;
|
||||
}
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8082";
|
||||
};
|
||||
};
|
||||
|
||||
"admin.cyperpunk.de" = {
|
||||
listen = [
|
||||
{
|
||||
@@ -277,4 +290,19 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.fluffychat = {
|
||||
image = "ghcr.io/krille-chan/fluffychat:latest";
|
||||
ports = [ "127.0.0.1:8082:80" ];
|
||||
volumes = [
|
||||
"${
|
||||
builtins.toFile "fluffychat-config.json" (
|
||||
builtins.toJSON {
|
||||
default_homeserver = "matrix.cyperpunk.de";
|
||||
preset_homeserver = "matrix.cyperpunk.de";
|
||||
}
|
||||
)
|
||||
}:/app/config.json:ro"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user