Skip to content

Commit 71bed47

Browse files
committed
feat: update MinIO configuration to expose console and set bucket policies
1 parent 358dcd3 commit 71bed47

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docker-compose-dev.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,17 @@ services:
2626
minio:
2727
container_name: minio
2828
image: minio/minio
29-
command: server /data
29+
command: server /data --console-address :9001
3030
ports:
31-
- 9000:9000
31+
- "9000:9000"
32+
- "9001:9001"
3233
environment:
3334
- MINIO_ROOT_USER=minioadmin
3435
- MINIO_ROOT_PASSWORD=minioadmin
3536
volumes:
3637
- 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
3840

3941
mc:
4042
container_name: minio-client
@@ -52,7 +54,9 @@ services:
5254
sleep 2
5355
done &&
5456
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
5660
'
5761
5862
volumes:

0 commit comments

Comments
 (0)