geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
488 stars 261 forks source link

issue with geopython/pygeoapi docker image #1633

Closed sjordan29 closed 5 months ago

sjordan29 commented 5 months ago

I'm working on addressing #1578 and while I was trying to test the updates using a docker-compose, everything appeared to run correctly, but when I navigated to the localhost I got a 404.

I then just tried to run the official pygeoapi Docker image following the instructions here: run docker run -p 5000:80 -it geopython/pygeoapi and then navigate to http://localhost:5000/, and I got the same thing: it boots up and is running, but when I navigate to the localhost, I get:

This localhost page can’t be found No webpage was found for the web address: http://localhost:5000/ HTTP ERROR 404

tomkralidis commented 5 months ago

@sjordan29 when trying docker run -p 5000:80 -it geopython/pygeoapi everything seems to work as expected. Not sure if you need to clean out your docker images/volumes?

sjordan29 commented 5 months ago

Thanks @tomkralidis, turned out I was running into an issue related to this. Ran it on a different port and it worked out. Thanks for testing so I knew it was on my end!