Setup "minio-local" which runs a MinIO instance usable by other applications.

Maven Dependency

<dependency>
  <groupId>io.yupiik.alveoli</groupId>
  <artifactId>minio-local</artifactId>
  <version>1.0.28-SNAPSHOT</version>
</dependency>

Default Configuration

MINIO_ROOT_USER

{{minio-local.rootUser:-s3user}}

MINIO_ROOT_PASSWORD

{{minio-local.rootPassword:-s3password}}

MINIO_REGION_NAME

{{minio-local.regionName:-us-east-1}}

Ports

  • Name: minio (minio-api)

    • Port: 9000

    • Target Port: 9000

    • Node Port: {}

  • Name: minio (minio-console)

    • Port: 9100

    • Target Port: 9100

    • Node Port: {}

Tip
on linux and with minikube you can access this service using http://$(minikube ip):{} on your host.

Sample Usage

{
  "alveoli": [
    {
      "//": "My alveolus.",
      "name": "com.company:my-app:1.0.0",
      "descriptors": [],
      "dependencies": [
        {
          "name": "io.yupiik.alveoli:minio-local:1.0.28-SNAPSHOT",
          "location": "io.yupiik.alveoli:minio-local:1.0.28-SNAPSHOT",
        }
      ],
      "patches": [{
        "descriptorName": "io.yupiik.alveoli:minio-local:1.0.28-SNAPSHOT",
        "interpolate": true
      }]
    }
  ]
}

Configuration

minio-local.apiNodePort

The published port of the api outside of the cluster. Default value: 30090.

minio-local.consoleNodePort

The published port of the console outside of the cluster. Default value: 30091.

minio-local.image

The minio image to use. Default value: minio/minio:latest.

minio-local.regionName

The S3 region name. Default value: us-east-1.

minio-local.rootPassword

The root password. Default value: s3password.

minio-local.rootUser

The root user. Default value: s3user.