NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.61k stars 13.76k forks source link

minio configuration is only possible via a hack #335025

Open ser opened 1 month ago

ser commented 1 month ago

Describe the bug

There is no documented way to pass configuration settings to minio, for example MINIO_DOMAIN. There's a hack which allows passing it via rootCredentialsFile though. In my opinion this parameter should change its name into settingsFile and there should be a few words added that MINIO_ROOT_USER and MINIO_ROOT_PASSWORD can be set there among other values.

Notify maintainers

@bachp


Add a :+1: reaction to issues you find important.

bachp commented 1 month ago

I think the right way would be to add a settings option that allows to set these variables. I would keep credentials and settints separated. This makes it easier to use with tools like agenix.

ser commented 1 month ago

Great, it's also a solution, thanks!