From f1b3548ef2e5a0833098a31000f63e5bdf37f760 Mon Sep 17 00:00:00 2001 From: deon Date: Tue, 28 May 2024 11:48:52 +0000 Subject: [PATCH] Update Minio Configuration --- Minio-Configuration.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Minio-Configuration.md b/Minio-Configuration.md index 42238b9..def851d 100644 --- a/Minio-Configuration.md +++ b/Minio-Configuration.md @@ -15,4 +15,27 @@ Some minio defaults that you can change if you want: *NOTE:* * The settings we used on the [installation](Installation) page makes web UI port available from the host. So you should be able to go to `http://[HOST]:9001` and login with the admin username/password. (Where `HOST` is the hostname (or IP address) to your machine running hosting the clrghouz containers.) -## Setup for clrghouz \ No newline at end of file +## Setup for clrghouz + +### Create a bucket to store files + +Run this command: + +```sh +> docker exec -it clrghouz-minio-1 mc mb /data/clrghouz +Bucket created successfully `/data/clrghouz`. +``` + +### Create a token to access minio + +We need to create a token and secret for our `[MINIO_ACCESS_KEY]` and `[MINIO_SECRET_KEY]` as mentioned on [Installation](Installation). + +The easiest way to do that is +1. Login to the minio web UI `http://[HOST]:9001` (where `[HOST]` is the hostname or IP address of the host running the clrghouz containers), using the details defined above. 2. Select `Access Keys` from the left +3. Select `+ Create access key` on the right +4. Press Create +5. Record the presented details in your `.env` file: + * Replace the Access Key `[MINIO_ACCESS_KEY]` with the created Access Key (its the value for AWS_ACCESS_KEY_ID) + * Replace the Secret Key `[MINIO_SECRET_KEY]` with the created Secret Key (its the value for AWS_SECRET_ACCESS_KEY) + +