Make Garage API domain be localhost

This commit is contained in:
Nicolas Jeannerod 2024-09-24 16:42:53 +02:00
parent e6b58b656b
commit fc18582a1b
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -2,7 +2,7 @@
let let
inherit (builtins) toString; inherit (builtins) toString;
inherit (lib) mkOption mkEnableOption; inherit (lib) mkOption mkEnableOption mkForce;
inherit (lib.types) types; inherit (lib.types) types;
in { in {
@ -109,5 +109,10 @@ in {
defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com"; defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com";
# defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; # defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
}; };
## NOTE: For a one-machine deployment, this removes the need to provide an
## `s3.garage.<domain>` domain. However, this will quickly stop working once
## we go to multi-machines deployment.
fediversity.internal.garage.api.domain = mkForce "localhost";
}; };
} }