File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ To install local minio add following specification to your docker-compose.yml::
4141
4242 # ...
4343
44- s3 :
44+ minio :
4545 image: minio/minio
4646 networks: *public # for doodba
4747 ports:
@@ -60,6 +60,10 @@ To install local minio add following specification to your docker-compose.yml::
6060
6161 s3:
6262
63+ Add to your ``/etc/hosts `` file::
64+
65+ 127.0.0.1 minio
66+
6367Now make minio publicly accessable:
6468
6569* `install minio client <https://docs.min.io/docs/minio-client-complete-guide.html >`__, e.g.
@@ -68,7 +72,7 @@ Now make minio publicly accessable:
6872 chmod +x mc
6973* create *alias *
7074 ::
71- ./mc alias set local http://127.0.0.1 :9000 admin password
75+ ./mc alias set local http://minio :9000 admin password
7276* create bucket
7377 ::
7478 ./mc mb local/mybucket
@@ -82,8 +86,8 @@ Then set parameters:
8286* ``s3.bucket ``: ``mybucket ``
8387* ``s3.access_key_id ``: ``admin ``
8488* ``s3.secret_key ``: ``password ``
85- * ``s3.endpoint_url ``: ``http://s3 :9000 ``
86- * ``s3.obj_url ``: ``http://localhost :9000/mybucket/ ``
89+ * ``s3.endpoint_url ``: ``http://minio :9000 ``
90+ * ``s3.obj_url ``: ``http://minio :9000/mybucket/ ``
8791
8892Questions?
8993==========
You can’t perform that action at this time.
0 commit comments