Skip to content

Add the MINIO_OPTS variable to the Dockerfile #1

@don-rumata

Description

@don-rumata

Hi!

Could you add the ${MINIO_OPTS:-} variable to the "CMD ["server", "/data", "--console-address", ":9001"]" so that you can enable or disable features like sftp or json logs (--json --sftp=address=:2022 --sftp=ssh-private-key=/var/lib/minio/.ssh/id_rsa)? It should look like this: "CMD ["server", "${MINIO_OPTS:-}", "/data", "--console-address", ":9001"]".

https://github.com/minio/docs/blob/35f2bb81280a3573c64947e8bd979e2c7026d2dd/source/reference/minio-server/settings/core.rst?plain=1#L66-L69

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions