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

@@ -5,7 +5,7 @@ After=network-online.target
[Container]
Image={{ minio_container_image }}:{{ minio_version }}
Exec=server /data --certs-dir /certs
Exec=server {% if minio_address|d %}--address {{ minio_address }} {% endif %}/data --certs-dir /certs
User=224
Group=224
EnvironmentFile=/etc/sysconfig/minio