Setup db
This commit is contained in:
parent
119544da0d
commit
f7b176f048
|
@ -29,9 +29,16 @@
|
||||||
name = "GLaDTheresCake Akkoma";
|
name = "GLaDTheresCake Akkoma";
|
||||||
email = "akkoma@gladtherescake.eu";
|
email = "akkoma@gladtherescake.eu";
|
||||||
notify_email = "no-reply@akkoma.gladtherescake.eu";
|
notify_email = "no-reply@akkoma.gladtherescake.eu";
|
||||||
|
emails.mailer = {
|
||||||
|
enabled = true;
|
||||||
|
adapter = "Swoosh.Adapters.Sendmail";
|
||||||
|
cmd_path = "/run/wrappers/bin/sendmail";
|
||||||
|
cmd_args = "-N delay,failure,success";
|
||||||
|
qmail = true;
|
||||||
|
};
|
||||||
description = "Lillian's Akkoma server!";
|
description = "Lillian's Akkoma server!";
|
||||||
languages = ["en" "nl"];
|
languages = ["en" "nl"];
|
||||||
registrations_open = true;
|
registrations_open = false;
|
||||||
max_pinned_statuses = 10;
|
max_pinned_statuses = 10;
|
||||||
cleanup_attachments = true;
|
cleanup_attachments = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Ensure the database, user, and permissions always exist
|
# Ensure the database, user, and permissions always exist
|
||||||
ensureDatabases = ["nextcloud" "onlyoffice"];
|
ensureDatabases = ["nextcloud" "onlyoffice" "akkoma"];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "nextcloud";
|
name = "nextcloud";
|
||||||
|
@ -104,6 +104,10 @@
|
||||||
name = "onlyoffice";
|
name = "onlyoffice";
|
||||||
ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
|
ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "akkoma";
|
||||||
|
ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue