I have built a stack for uploading COGs and serve them from a storage bucket server. If I add marblecutter-virtual to the stack in a docker-compose deployment all its endpoints don't work as expected if the querystring url is from the same domain/ip while they work if it is an external cog like that from the readme.
There is a docker-compose to reproduce the problem.
Just upload a geotiff with tiled overviews as the example below:
curl -X POST \
http://192.168.99.100:30800/api/cogs/ \
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
-H 'Cache-Control: no-cache' \
-H 'Content-Disposition: attachment; geotiff-with-ovr.tif' \
-H 'Content-Type: image/tif' \
-H 'Postman-Token: 0e53c7df-8096-4dc7-9de4-23e6fc916733' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F image=@/tmp/geotiff-with-ovr.tif \
-F name=geotiff-with-ovr.tif \
-F compression=raw
I have built a stack for uploading COGs and serve them from a storage bucket server. If I add marblecutter-virtual to the stack in a docker-compose deployment all its endpoints don't work as expected if the querystring
urlis from the same domain/ip while they work if it is an external cog like that from the readme.There is a docker-compose to reproduce the problem.
Just upload a geotiff with tiled overviews as the example below: