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 @@ -26,15 +26,17 @@ services:
26
26
minio :
27
27
container_name : minio
28
28
image : minio/minio
29
- command : server /data
29
+ command : server /data --console-address :9001
30
30
ports :
31
- - 9000:9000
31
+ - " 9000:9000"
32
+ - " 9001:9001"
32
33
environment :
33
34
- MINIO_ROOT_USER=minioadmin
34
35
- MINIO_ROOT_PASSWORD=minioadmin
35
36
volumes :
36
37
- minio_data:/data
37
- # You can access the MinIO web interface at http://localhost:9000
38
+ # You can access the MinIO web interface at http://localhost:9000
39
+ # You can access the MinIO console at http://localhost:9001
38
40
39
41
mc :
40
42
container_name : minio-client
@@ -52,7 +54,9 @@ services:
52
54
sleep 2
53
55
done &&
54
56
mc mb minio/noteblockworld-songs &&
55
- mc mb minio/noteblockworld-thumbs
57
+ mc mb minio/noteblockworld-thumbs &&
58
+ mc policy set public minio/noteblockworld-songs &&
59
+ mc policy set public minio/noteblockworld-thumbs
56
60
'
57
61
58
62
volumes :
You can’t perform that action at this time.
0 commit comments