forked from mirrors/nixpkgs
Merge pull request #133295 from bachp/minio-update
This commit is contained in:
commit
eac15e396c
|
@ -687,6 +687,15 @@
|
||||||
<literal>yambar-wayland</literal> if you are on wayland.
|
<literal>yambar-wayland</literal> if you are on wayland.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>services.minio</literal> module gained an
|
||||||
|
additional option <literal>consoleAddress</literal>, that
|
||||||
|
configures the address and port the web UI is listening, it
|
||||||
|
defaults to <literal>:9001</literal>. To be able to access the
|
||||||
|
web UI this port needs to be opened in the firewall.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-release-21.11-notable-changes">
|
<section xml:id="sec-release-21.11-notable-changes">
|
||||||
|
|
|
@ -173,6 +173,10 @@ pt-services.clipcat.enable).
|
||||||
|
|
||||||
- The `yambar` package has been split into `yambar` and `yambar-wayland`, corresponding to the xorg and wayland backend respectively. Please switch to `yambar-wayland` if you are on wayland.
|
- The `yambar` package has been split into `yambar` and `yambar-wayland`, corresponding to the xorg and wayland backend respectively. Please switch to `yambar-wayland` if you are on wayland.
|
||||||
|
|
||||||
|
- The `services.minio` module gained an additional option `consoleAddress`, that
|
||||||
|
configures the address and port the web UI is listening, it defaults to `:9001`.
|
||||||
|
To be able to access the web UI this port needs to be opened in the firewall.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||||
|
|
||||||
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
||||||
|
|
|
@ -19,7 +19,13 @@ in
|
||||||
listenAddress = mkOption {
|
listenAddress = mkOption {
|
||||||
default = ":9000";
|
default = ":9000";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "Listen on a specific IP address and port.";
|
description = "IP address and port of the server.";
|
||||||
|
};
|
||||||
|
|
||||||
|
consoleAddress = mkOption {
|
||||||
|
default = ":9001";
|
||||||
|
type = types.str;
|
||||||
|
description = "IP address and port of the web UI (console).";
|
||||||
};
|
};
|
||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
|
@ -99,7 +105,7 @@ in
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --config-dir=${cfg.configDir} ${toString cfg.dataDir}";
|
ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --console-address ${cfg.consoleAddress} --config-dir=${cfg.configDir} ${toString cfg.dataDir}";
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = "minio";
|
User = "minio";
|
||||||
Group = "minio";
|
Group = "minio";
|
||||||
|
|
|
@ -15,16 +15,16 @@ let
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio";
|
pname = "minio";
|
||||||
version = "2021-05-16T05-32-34Z";
|
version = "2021-08-05T22-01-19Z";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "minio";
|
repo = "minio";
|
||||||
rev = "RELEASE.${version}";
|
rev = "RELEASE.${version}";
|
||||||
sha256 = "sha256-+zanqJMYNg/1c20cMm+bqVsW8VquucxEK5NiFAqOmS0=";
|
sha256 = "0lslgma04nby03bibhzgl4hl7wxk91xk3c46ibv6p33pc1a8ywrv";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-5aDD68nugFyWsySLEj7LXAdtFXFKWnqfz+5zF5wC2qw=";
|
vendorSha256 = "1dhawj4gzm017qgf678i5lb7s0djddvf4923ipgnzm8q463sywd6";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue