cluster/services/storage: use external s3 endpoint for remote storage

This commit is contained in:
Max Headroom 2023-11-04 23:36:19 +01:00
parent edad34b631
commit d6fe67c14e

View file

@ -9,8 +9,7 @@ in
fileSystems.external = { fileSystems.external = {
mountpoint = "/srv/storage"; mountpoint = "/srv/storage";
authFile = ./secrets/external-storage-auth-${hostName}.age; authFile = ./secrets/external-storage-auth-${hostName}.age;
backend = "s3c://${cluster.config.hostLinks.${hostName}.garageS3.tuple}/storage-${hostName}"; backend = "s3c://${cluster.config.links.garageS3.hostname}/storage-${hostName}";
backendOptions = [ "no-ssl" ];
}; };
}; };
} }