cluster/services/nextcloud: add dns records
This commit is contained in:
parent
bbaf0b0c14
commit
38d8894676
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
services.nextcloud = {
|
||||
|
@ -10,4 +10,8 @@
|
|||
address = "https://storage.${depot.lib.meta.domain}/status.php";
|
||||
module = "nextcloudStatus";
|
||||
};
|
||||
|
||||
dns.records.storage.target = map
|
||||
(node: depot.hours.${node}.interfaces.primary.addrPublic)
|
||||
config.services.nextcloud.nodes.host;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue