From e40c7f4d1af429d9289f71890e210a2bd943d174 Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 14 Jul 2025 21:01:55 +0200 Subject: feat: add user profile image policy --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index f81adf3..f0c716d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,9 +47,12 @@ services: MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD} entrypoint: > /bin/sh -c " - mc alias set minio http://minio:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD && - mc mb minio/storage --ignore-existing && - echo '\033[32m✓ Bucket storage created successfully\033[0m' + mc alias set myminio http://minio:9000 \$MINIO_ROOT_USER \$MINIO_ROOT_PASSWORD && + mc mb --ignore-existing myminio/storage && + echo 'Created storage bucket' && + mc anonymous set myminio/storage/users/*/profile/avatar_*.webp download && + echo 'Applied custom profile-image policy' && + echo 'MinIO initialization complete' " restart: "no" -- cgit v1.3.1