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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user