fix: use xml for minio cors config
Deploy On Server / Prepare Repository Remotely (push) Successful in 8s
Deploy On Server / Docker Compose Up (push) Failing after 16s
Deploy On Server / Prune Images (push) Has been skipped
Deploy On Server / Remove .env File (push) Has been skipped

This commit is contained in:
Raul Lugo
2026-08-10 18:33:53 +02:00
parent 18b7304f95
commit f66c3fd40f
3 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ services:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minioadmin}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin}
volumes:
- ./deployment/minio-cors.json:/etc/minio/cors.json:ro
- ./deployment/minio-cors.xml:/etc/minio/cors.xml:ro
entrypoint: >
/bin/sh -c "
until mc alias set local http://wedding-minio:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD; do
@@ -65,7 +65,7 @@ services:
done;
mc mb --ignore-existing local/$$S3_BUCKET &&
mc anonymous set none local/$$S3_BUCKET &&
mc cors set local/$$S3_BUCKET /etc/minio/cors.json
mc cors set local/$$S3_BUCKET /etc/minio/cors.xml
"
networks:
- wedding-private