Add CORS configuration for MinIO buckets and update environment variables
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 42s
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 42s
This commit is contained in:
@@ -10,6 +10,8 @@ services:
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin123}
|
||||
MINIO_SERVER_URL: ${MINIO_SERVER_URL:-http://localhost:9000}
|
||||
MINIO_BROWSER_REDIRECT_URL: ${MINIO_BROWSER_REDIRECT_URL:-http://localhost:9001}
|
||||
# CORS configuration - allow localhost for local development
|
||||
MINIO_API_CORS_ALLOW_ORIGIN: "http://localhost:8080,http://localhost:8081,http://localhost:8082,http://localhost:3000"
|
||||
command: server /data --console-address ":9001"
|
||||
ports:
|
||||
- "${MINIO_PORT:-9000}:9000"
|
||||
|
||||
Reference in New Issue
Block a user