From d33eeb09f4013afba1ad2b7376fb863240677dda Mon Sep 17 00:00:00 2001 From: Sanyam Date: Tue, 1 Nov 2022 13:55:36 +0530 Subject: [PATCH] docs: update MinIO's port to avoid port clash (#2495) * update MinIO's port to avoid port clash added bash command to update the MinIO port to `9001` instead of `9000` * move `warning` to the new section * remove `:::warning` & `:::`, update text positioning * add `:` --- docs/content/add-plugins/minio.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/content/add-plugins/minio.md b/docs/content/add-plugins/minio.md index eb3433cb06..9ea4af8804 100644 --- a/docs/content/add-plugins/minio.md +++ b/docs/content/add-plugins/minio.md @@ -18,11 +18,15 @@ You can follow [MinIO’s guide to install it](https://docs.min.io/minio/baremet After installing it, make sure MinIO is always running when your Medusa server is running. It’s recommended that you set up an alias to quickly start the MinIO server as instructed at the end of the installation guides in MinIO. -:::warning +### Change MinIO port In MinIO’s documentation, port `9000` is used for the address of the MinIO server. However, this collides with the port for the Medusa server. You must change the port for MinIO to another one (for example, port `9001`). -::: +After setting up and installing MinIO on your system/sub-system, you can run the following command to change MinIO port to `9001` (or any other available port) instead of `9000` to avoid the port clash: + +```bash +minio server ~/minio --console-address :9090 --address :9001 +``` ### Create a MinIO bucket