Im wondering about the docker compose for the openpoiservice.
Everything runs fine in my docker environment. However im wishing to push this to azure container apps and running it there. The problem is the networking defined in the docker compose and ops-settings doesn’t really translate that well since they are referencing docker containers:
this reads like it is not an issue with the openrouteservice, but with your personal setup regarding postgresql and sqlalchemy. Have a look at their respective documentation on how to do that
Hey. It’s more about how to customize the postgis database included in openpoiservice to allow external IP connections since it doesn’t seem to do it with the out-of-the-box solution.
The same problem occurs when running the postgis container as an external container, not ni the same network as the API and the INIT.
the postgis DB used by openpoiservice isn’t supposed to be connected to directly, we provide a flask API to query the data the openpoiservice keeps. If you still want to connect to the postgis database yourself, you’ll have to modify the settings in the docker-compose.yml file accordingly. Please refer to the postgis documentation of the documentation or the postgis docker image by kartoza that we use (Docker) for details on how to do that.