| 1 | # Configuration for /etc/init.d/minio |
| 2 | |
| 3 | # A whitespace-separated list of [HOSTNAME]/DIRECTORIES where to store data. |
| 4 | # If the first item is a local path and the directory doesn't exist yet, the |
| 5 | # init script will create it on the start. |
| 6 | #data_dirs="/var/lib/minio/data" |
| 7 | |
| 8 | # Specifies the path to the directory containing certificates the minio process |
| 9 | # uses for configuring TLS/SSL connectivity (--certs-dir). |
| 10 | #certs_dir= |
| 11 | |
| 12 | # File to redirect stdout/stderr into. Set to empty string to disable. |
| 13 | #logfile="/var/log/$RC_SVCNAME.log" |
| 14 | |
| 15 | # User and group to run minio server as. |
| 16 | #command_user="minio:minio" |
| 17 | |
| 18 | # Additional arguments to pass to 'minio server' (before data dirs). |
| 19 | #command_args="--quiet --anonymous" |
| 20 | |
| 21 | # Comment out to disable process supervisor. |
| 22 | supervisor=supervise-daemon |
| 23 | |
| 24 | # |
| 25 | # Declare any MinIO configuration variables below. |
| 26 | # See https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#environment-variables |
| 27 | # |
| 28 | ## BEGIN environment variables |
| 29 | set -a # enable auto-export variables |
| 30 | |
| 31 | # The access key and secret key for the root user. MinIO strongly recommends |
| 32 | # specifying a unique, long, and random strings for both user (access key) |
| 33 | # and password (secret key). |
| 34 | # These variables are |
| 35 | MINIO_ROOT_USER="change-me" |
| 36 | MINIO_ROOT_PASSWORD="change-me" |
| 37 | |
| 38 | # Bind to a specific ADDRESS:PORT; ADDRESS can be an IP or hostname. |
| 39 | # NOTE: You have to provide ADDRESS, otherwise the script's healhcheck |
| 40 | # function won't work. |
| 41 | MINIO_ADDRESS="localhost:9000" |
| 42 | |
| 43 | # Bind to a specific ADDRESS:PORT for embedded Console UI; ADDRESS can be |
| 44 | # an IP or hostname. |
| 45 | MINIO_CONSOLE_ADDRESS="localhost:9001" |
| 46 | |
| 47 | # Change to "on" to enable the embedded MinIO Console (web UI). |
| 48 | MINIO_BROWSER="off" |
| 49 | |
| 50 | set +a # disable auto-export variables (don't remove!) |
| 51 | ## END environment variables |