[gitea] Moves database password into an sops secret
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
inherit (import ./lib.nix config) localHostRule;
|
||||
inherit (import ./lib.nix config) blazestar localHostRule;
|
||||
inherit (import ./secrets.nix) minioAdminPassword;
|
||||
in
|
||||
{
|
||||
@@ -12,7 +12,7 @@ in
|
||||
];
|
||||
cmd = [ "server" "/data" "--console-address" ":9001" ];
|
||||
environment = {
|
||||
MINIO_BROWSER_REDIRECT_URL = "https://console.minio.havenisms.com/";
|
||||
MINIO_BROWSER_REDIRECT_URL = "https://console.minio.${blazestar}/";
|
||||
MINIO_ROOT_USER = "minioadmin";
|
||||
MINIO_ROOT_PASSWORD = minioAdminPassword;
|
||||
};
|
||||
@@ -27,8 +27,8 @@ in
|
||||
"-l=homepage.group=Infra"
|
||||
"-l=homepage.name=Minio"
|
||||
"-l=homepage.icon=mino.svg"
|
||||
"-l=homepage.href=https://minio-admin.${config.domainName}"
|
||||
"-l=homepage.href=https://minio-admin.${blazestar}"
|
||||
"-l=homepage.description=Reverse proxy"
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user