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

Split Postgresql and code #238

Closed
CvekCoding opened this issue Jun 16, 2021 · 4 comments
Closed

Split Postgresql and code #238

CvekCoding opened this issue Jun 16, 2021 · 4 comments

Comments

@CvekCoding
Copy link

I would like to use managed Postgresql in a cloud, so I want to split your docker container into 2 containers - DB itself and code+webserver.

Probably you already have a solution for this or I have to do this myself?

@mtmail
Copy link
Contributor

mtmail commented Jun 16, 2021

Do you have filesystem access to the managed Postgresql servers? If not then the installation won't work https://www.nominatim.org/release-docs/latest/admin/Faq/#i-see-the-error-error-permission-denied-for-language-c

@leonardehrenfried
Copy link
Collaborator

Besides, the goal of the image is to have something that is easy to install and operate. I'm sorry to say it but it would go against he spirit of the project to split this up into several components.

@CvekCoding
Copy link
Author

Hmm. bad news

@CvekCoding
Copy link
Author

But I see this fork of your project, and according to its documentation DB can be accessed via network, see here:

Advanced configuration. If necessary you can split the osm installation into a database and restservice layer
...
@define('CONST_Database_DSN', 'pgsql://nominatim:password1234@192.168.1.128:6432/nominatim'); // <driver>://<username>:<password>@<host>:<port>/<database>
...

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

4 participants