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 `:`
This commit is contained in:
Sanyam
2022-11-01 13:55:36 +05:30
committed by GitHub
parent 096425f7db
commit d33eeb09f4

View File

@@ -18,11 +18,15 @@ You can follow [MinIOs 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. Its 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 MinIOs 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