Files
learn-devops/ansible/roles/minio_start/templates/minio.config.j2
github-actions[bot] 55deb994c6 Add MinIO cluster (#15)
Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
2024-07-23 10:46:09 +03:00

22 lines
1.2 KiB
Django/Jinja

# MINIO_ROOT_USER and MINIO_ROOT_PASSWORD sets the root account for the MinIO server.
# This user has unrestricted permissions to perform S3 and administrative API operations on any resource in the deployment.
# Omit to use the default values 'minioadmin:minioadmin'.
# MinIO recommends setting non-default values as a best practice, regardless of environment.
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD={{ lookup('password', 'secrets/minio/admin_secret length=64') }}
# MINIO_VOLUMES sets the storage volumes or paths to use for the MinIO server.
# The specified path uses MinIO expansion notation to denote a sequential series of drives between 1 and 4, inclusive.
# All drives or paths included in the expanded drive list must exist *and* be empty or freshly formatted for MinIO to start successfully.
MINIO_VOLUMES="http://minio-node{1...4}:9000/mnt/disk1/minio"
# MINIO_SERVER_URL sets the hostname of the local machine for use with the MinIO Server.
# MinIO assumes your network control plane can correctly resolve this hostname to the local machine.
# Uncomment the following line and replace the value with the correct hostname for the local machine.
MINIO_SERVER_URL="http://10.0.75.90"
MINIO_BROWSER_REDIRECT_URL="https://s3.example.local/minio/ui"