I am running a Minio server using its docker image.
docker run -p 9000:9000 --name minio1 \
-e "MINIO_ACCESS_KEY=user" \
-e "MINIO_SECRET_KEY=pass" \
-v /home/me/data:/data \
minio/minio server /data
I have a couple of folders with files in the mount point. How do I make them available in Minio, do I need to upload them?
Can I put them in a folder and have it added as a bucket when I initialize the server?
EDIT:
When I open the minio web UI on localhost:9000
I don't see the files and folders that were already at the mount point.
What is the most efficient way to add all these folders to the minio server, such that a bucket is created for the first folder in the tree and then all the files inside each folder are added to their 'folder' bucket as objects? I could achieve this using Minio Python SDK, for example, by recursively walking down the folder tree and upload the files, but is that necessary?