defiant: Enable postgresql backups
This commit is contained in:
parent
556bd25ce3
commit
3ef7bf6496
|
@ -58,5 +58,7 @@ in {
|
|||
|
||||
systemd.services.gitea.serviceConfig.WorkingDirectory = lib.mkForce "${cfg.stateDir}/work";
|
||||
|
||||
services.postgresqlBackup.databases = [ "gitea" ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ sshPort ];
|
||||
}
|
||||
|
|
|
@ -95,6 +95,8 @@ in {
|
|||
}];
|
||||
};
|
||||
|
||||
services.postgresqlBackup.databases = [ "hedgedoc" ];
|
||||
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
listen = [
|
||||
{ addr = "192.168.10.175"; port = 43443; ssl = true; }
|
||||
|
|
|
@ -72,6 +72,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.postgresqlBackup.databases = [ "matrix-synapse" ];
|
||||
|
||||
services.redis.servers."".enable = true;
|
||||
|
||||
services.nginx.virtualHosts."matrix.feal.no" = {
|
||||
|
|
|
@ -6,10 +6,12 @@
|
|||
};
|
||||
|
||||
services.postgresqlBackup = {
|
||||
# enable = true;
|
||||
enable = true;
|
||||
location = "/data/backup/postgresql/";
|
||||
startAt = "*-*-* 03:15:00";
|
||||
backupAll = true;
|
||||
|
||||
# Each service is registered in its own configuration file
|
||||
databases = [ ];
|
||||
};
|
||||
|
||||
environment.systemPackages = [ config.services.postgresql.package ];
|
||||
|
|
|
@ -35,6 +35,8 @@ in {
|
|||
}];
|
||||
};
|
||||
|
||||
services.postgresqlBackup.databases = [ "vaultwarden" ];
|
||||
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in New Issue