cluster/services/nextcloud: migrate from VEGAS/nextcloud, add blackbox check
This commit is contained in:
parent
ae62e395a5
commit
c4e437578c
3 changed files with 15 additions and 3 deletions
13
cluster/services/nextcloud/default.nix
Normal file
13
cluster/services/nextcloud/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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";
|
|
@ -22,7 +22,6 @@
|
|||
./services/fbi
|
||||
./services/gitlab
|
||||
./services/jokes
|
||||
./services/nextcloud
|
||||
./services/mail
|
||||
./services/matrix
|
||||
./services/minecraft
|
||||
|
|
Loading…
Reference in a new issue