Skip to content

Minio

services.minio.enable

Whether to enable MinIO Object Storage.

Type: boolean

Default: false

Example: true

services.minio.package

MinIO package to use.

Type: package

Default: pkgs.minio

services.minio.accessKey

Access key of 5 to 20 characters in length that clients use to access the server.

Type: string

Default: "minioadmin"

services.minio.afterStart

Bash code to execute after minio is running.

Type: strings concatenated with “\n”

Default: ""

Example:

''
  mc anonymous set download local/mybucket
''

services.minio.browser

Enable or disable access to web UI.

Type: boolean

Default: true

services.minio.buckets

List of buckets to ensure exist on startup.

Type: list of string

Default: [ ]

services.minio.clientConfig

Contents of the mc config.json, as a nix attribute set.

By default, local is configured to connect to the devenv minio service. Use lib.mkForce null to use your regular mc configuration from $HOME/.mc instead.

Type: null or JSON value

services.minio.clientPackage

MinIO client package to use.

Type: package

Default: pkgs.minio-client

services.minio.consoleAddress

IP address and port of the web UI (console).

Type: string

Default: "127.0.0.1:9001"

services.minio.listenAddress

IP address and port of the server.

Type: string

Default: "127.0.0.1:9000"

services.minio.region

The physical location of the server. By default it is set to us-east-1, which is same as AWS S3’s and MinIO’s default region.

Type: string

Default: "us-east-1"

services.minio.secretKey

Specify the Secret key of 8 to 40 characters in length that clients use to access the server.

Type: string

Default: "minioadmin"