Files
configpolicy/roles/minio/templates/minio.env.j2
Dustin C. Hatch 623f652e0d 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}`.
2024-09-01 08:59:28 -05:00

13 lines
348 B
Django/Jinja

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