cluster/services/storage: use external s3 endpoint for remote storage
This commit is contained in:
parent
edad34b631
commit
d6fe67c14e
1 changed files with 1 additions and 2 deletions
|
@ -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" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue