Platform 23.11 #96

Merged
max merged 47 commits from platform-23.11 into master 2023-12-05 01:59:28 +02:00
Showing only changes of commit e961260700 - Show all commits

View file

@ -1,4 +1,4 @@
{ depot, ... }: { config, depot, ... }:
{ {
services.object-storage = { services.object-storage = {
@ -10,4 +10,14 @@
address = "https://object-storage.${depot.lib.meta.domain}/minio/health/live"; address = "https://object-storage.${depot.lib.meta.domain}/minio/health/live";
module = "https2xx"; module = "https2xx";
}; };
dns.records = let
serverAddrs = map
(node: depot.hours.${node}.interfaces.primary.addrPublic)
config.services.object-storage.nodes.host;
in {
object-storage.target = serverAddrs;
"console.object-storage".target = serverAddrs;
cdn.target = serverAddrs;
};
} }