-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Minio provides presigned URLs through the getPresignedObjectUrl function. This generates URLs such as:
However this presigned URL enforces the host to be localhost. So if I for example want to access the minio presigned URL from a different testcontainer, I need to access it through the host.testcontainers.internal host. However if I change localhost to host.testcontainers.internal , the URL verification fails. So I would either need to not have host included in verification, or be able to change the generated hostname for the presigned URL.
I tried using the quarkus.minio.devservices.host config parameter, however this doesn't seem to be changing the host in the generated presigned URL. How can I get the generated URL to change to host.testcontainers.internal for an injected MinioClient?