Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for remote Postgres databases #9

Open
peter-evans opened this issue Aug 30, 2018 · 3 comments
Open

Add support for remote Postgres databases #9

peter-evans opened this issue Aug 30, 2018 · 3 comments

Comments

@peter-evans
Copy link
Owner

peter-evans commented Aug 30, 2018

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.

@Asshad
Copy link

Asshad commented May 28, 2020

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

@peter-evans
Copy link
Owner Author

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

@akatie
Copy link

akatie commented Dec 29, 2020

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

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

No branches or pull requests

3 participants