r/minio: Add additional configuration options

If the `minio_address` variable is specified, it will be passed with the
`--address` argument to `minio server`.  This allows controlling the
socket the server binds to and listens on.

The `minio_browser_redirect_url` can be specified to populate the
similarly-named environment variable, which configures how MinIO serves
the web UI.

The `minio_domain` variable sets the `MINIO_DOMAIN` environment
variable, which enables DNS names (subdomains) for buckets, i.e.
`{bucket_name}.{MINIO_DOMAIN}`.
This commit is contained in:
2024-08-31 18:47:32 -05:00
parent 2e37fce4f6
commit 623f652e0d
3 changed files with 11 additions and 2 deletions

View File

@@ -2,5 +2,11 @@ MINIO_ROOT_USER={{ minio_root_user }}
MINIO_ROOT_PASSWORD={{ minio_root_password }}
MINIO_CONSOLE_ADDRESS={{ minio_console_address }}
{% if minio_browser_redirect_url|d %}
MINIO_BROWSER_REDIRECT_URL={{ minio_browser_redirect_url }}
{% endif %}
{% if minio_domain|d %}
MINIO_DOMAIN={{ minio_domain }}
{% endif %}
MINIO_PROMETHEUS_AUTH_TYPE=public