From 152c4478c1096fbfd773ec47f84a33f9d87e0e58 Mon Sep 17 00:00:00 2001 From: bachvudinh Date: Tue, 16 Jul 2024 05:59:51 +0000 Subject: [PATCH 1/2] add file to setup a minio sever --- Minio_host.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Minio_host.sh diff --git a/Minio_host.sh b/Minio_host.sh new file mode 100644 index 0000000..a8af2e0 --- /dev/null +++ b/Minio_host.sh @@ -0,0 +1,10 @@ +mkdir -p ~/minio/data + +docker run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name minio \ + -v ~/minio/data:/data \ + -e "MINIO_ROOT_USER=ROOT" \ + -e "MINIO_ROOT_PASSWORD=ROOT" \ + quay.io/minio/minio server /data --console-address ":9001" \ No newline at end of file From e9b62aee39b65220f6d897eaf6ea0bdfcef929ce Mon Sep 17 00:00:00 2001 From: bachvudinh Date: Tue, 16 Jul 2024 14:44:18 +0700 Subject: [PATCH 2/2] debug --- Minio_host.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Minio_host.sh b/Minio_host.sh index a8af2e0..eab1b00 100644 --- a/Minio_host.sh +++ b/Minio_host.sh @@ -1,10 +1,9 @@ -mkdir -p ~/minio/data +# mkdir -p ~/minio/data docker run \ -p 9000:9000 \ -p 9001:9001 \ --name minio \ - -v ~/minio/data:/data \ - -e "MINIO_ROOT_USER=ROOT" \ - -e "MINIO_ROOT_PASSWORD=ROOT" \ - quay.io/minio/minio server /data --console-address ":9001" \ No newline at end of file + -e "MINIO_ROOT_USER=minioadmin" \ + -e "MINIO_ROOT_PASSWORD=minioadmin" \ + quay.io/minio/minio server /data --console-address ":9001"