nominatim-docker icon indicating copy to clipboard operation
nominatim-docker copied to clipboard

Add support for remote Postgres databases

Open peter-evans opened this issue 7 years ago • 3 comments

Add support for remote Postgres database via environment variables. The environment variables would need to set CONST_Database_DSN in local.php.

@define('CONST_Database_DSN', 'pgsql://@/nominatim'); // <driver>://<username>:<password>@<host>:<port>/<database>

Full list of defaults for Nominatim's settings here.

Would also need an environment variable flag to disable/enable building a new graph in docker-entrypoint.sh.

peter-evans avatar Aug 30 '18 01:08 peter-evans

Hi @peter-evans Thanks for the awesome nominatim. Btw, I noticed its still in enhancement, do you have a sample working codes?

Asshad avatar May 28 '20 06:05 Asshad

Hi @Asshad. I don't have working code for this feature yet.

peter-evans avatar May 29 '20 00:05 peter-evans

I'd help. I'm having trouble accessing the internal Postgres db. I plan to use this to load photon ...

akatie avatar Dec 29 '20 17:12 akatie