Closed drnextgis closed 2 years ago
are you using docker-compose?
if not can you make sure to have the TITILER_ENDPOINT
env set pointing the eoapi.raster endpoint
https://github.com/developmentseed/eoAPI/blob/master/docker-compose.yml#L29
yes, I'm using default docker-compose.yml
the url seems weird raster/stac/viewer
👍 yep, confirmed I'm not an docker expert but it seems that https://github.com/developmentseed/eoAPI/blob/master/docker-compose.yml#L29 pass the word raster
instead of http://0.0.0.0:8082
🤷
Correct, raster
is the name which is used to communicate between containers and it is not available from the docker host. As you mentioned using http://0.0.0.0:8082
solves the issue:
I've hardcoded the host in the docker-compose file https://github.com/developmentseed/eoAPI/blob/master/docker-compose.yml#L34
https://user-images.githubusercontent.com/866124/132497769-df2ab162-f45f-4e0a-afdb-0bad2f9563aa.mp4