Skip to content

Error when COGs are served from the same hostname of marble server through docker-compose #5

Description

@francbartoli

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions