cluster/services/nextcloud: migrate from VEGAS/nextcloud, add blackbox check

This commit is contained in:
Max Headroom 2023-06-05 01:20:22 +02:00
parent ae62e395a5
commit c4e437578c
3 changed files with 15 additions and 3 deletions

View file

@ -0,0 +1,13 @@
{ tools, ... }:
{
services.nextcloud = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
monitoring.blackbox.targets.nextcloud = {
address = "https://storage.${tools.meta.domain}/status.php";
module = "nextcloudStatus";
};
}

View file

@ -5,13 +5,13 @@ in
{
age.secrets = {
nextcloud-adminpass = {
file = ../../../../secrets/nextcloud-adminpass.age;
file = ../../../secrets/nextcloud-adminpass.age;
owner = "nextcloud";
group = "nextcloud";
mode = "0400";
};
nextcloud-dbpass = {
file = ../../../../secrets/nextcloud-dbpass.age;
file = ../../../secrets/nextcloud-dbpass.age;
owner = "nextcloud";
group = "nextcloud";
mode = "0400";

View file

@ -22,7 +22,6 @@
./services/fbi
./services/gitlab
./services/jokes
./services/nextcloud
./services/mail
./services/matrix
./services/minecraft