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

wrong default postgres host with docker install #61

Open
mdsnor opened this issue May 26, 2020 · 0 comments
Open

wrong default postgres host with docker install #61

mdsnor opened this issue May 26, 2020 · 0 comments

Comments

@mdsnor
Copy link

mdsnor commented May 26, 2020

Running docker-compose starts the application, however the postgres host defaults to localhost, and the connections fails. A workaround is to manually change the PostGIS Host in the Database section of the interface to the current db service name ("istsos-db" with the current compose). Or modify the config files before the install.

Wouldn't be better to have a fully working docker start? Would it be a solution to manage the configuration parameters as environmental variables, including the postgis host, also for the istsos container? Maybe adding an entrypoint with commands to edit the configuration files (default.cfg.sample) or similar. Crudini could help (https://github.com/pixelb/crudini)

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

No branches or pull requests

1 participant