ansible-role-minio/templates/minio.default.j2

53 lines
2.1 KiB
Django/Jinja

# See https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#environment-variables
# Set the hosts and volumes MinIO uses at startup
MINIO_VOLUMES="{{ minio_volumes }}"
# Set all MinIO server options
#
# The following explicitly sets the MinIO Console listen address to
# port 9001 on all network interfaces. The default behavior is dynamic
# port selection.
MINIO_OPTS="{% if minio_dedicated_console %}--console-address :{{ minio_console_port }}{% endif %} --certs-dir {{ minio_tls_certs_dir }}"
# Set the root username. This user has unrestricted permissions to
# perform S3 and administrative API operations on any resource in the
# deployment.
#
# Defer to your organizations requirements for superadmin user name.
MINIO_ROOT_USER={{ minio_root_user }}
# Set the root password
#
# Use a long, random, unique string that meets your organizations
# requirements for passwords.
MINIO_ROOT_PASSWORD={{ minio_root_password }}
# Set to the URL of the load balancer for the MinIO deployment
# This value *must* match across all MinIO servers. If you do
# not have a load balancer, set this value to to any *one* of the
# MinIO hosts in the deployment as a temporary measure.
MINIO_SERVER_URL="{{ minio_server_url }}"
#
MINIO_PROMETHEUS_URL="{{ minio_prometheus_url }}"
MINIO_PROMETHEUS_JOB_ID="{{ minio_prometheus_jobid }}"
MINIO_BROWSER_REDIRECT_URL="{{ minio_ui_url }}"
MINIO_STORAGE_CLASS_STANDARD={{ minio_storage_class_standard }}
MINIO_STORAGE_CLASS_RRS={{ minio_storage_class_rrs }}
# jwt, public
MINIO_PROMETHEUS_AUTH_TYPE={{ minio_prometheus_auth_type }}
{% if minio_external_oidc %}
MINIO_IDENTITY_OPENID_CONFIG_URL={{ minio_openid_config_url }}
MINIO_IDENTITY_OPENID_CLIENT_ID={{ minio_openid_client_id }}
MINIO_IDENTITY_OPENID_CLIENT_SECRET={{ minio_openid_client_secret }}
MINIO_IDENTITY_OPENID_CLAIM_NAME={{ minio_openid_claim_name }}
{% if minio_openid_set_claim_prefix %}
MINIO_IDENTITY_OPENID_CLAIM_PREFIX={{ minio_openid_claim_prefix }}
{% endif %}
MINIO_IDENTITY_OPENID_SCOPES={{ minio_openid_scopes }}
MINIO_IDENTITY_OPENID_REDIRECT_URI={{ minio_openid_redirect_uri }}
{% endif %}