mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add Roundcube
This commit is contained in:
parent
5f36ab8644
commit
8404e17a2f
9 changed files with 72 additions and 4 deletions
|
|
@ -12,6 +12,7 @@
|
|||
../modules/custom-monit.nix
|
||||
../modules/dokuwiki.nix
|
||||
../modules/website-marie.nix
|
||||
../modules/roundcube.nix
|
||||
];
|
||||
|
||||
sops.secrets = {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
preHook = ''
|
||||
${pkgs.postgresql_12}/bin/pg_dump -U synapse synapse > /nix/var/data/postgresql/synapse.dmp
|
||||
${pkgs.postgresql_12}/bin/pg_dump -U nextcloud nextcloud > /nix/var/data/postgresql/nextcloud.dmp
|
||||
${pkgs.postgresql_12}/bin/pg_dump -U roundcube roundcube > /nix/var/data/postgresql/roundcube.dmp
|
||||
'';
|
||||
postHook = "touch /nix/var/data/backup/backup-ok";
|
||||
startAt = "03:00";
|
||||
|
|
|
|||
|
|
@ -60,5 +60,7 @@
|
|||
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||
check host website-marie with address osteopathie.froidmont.org
|
||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||
check host webmail with address webmail.banditlair.com
|
||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue