Skip to content

wrong default postgres host with docker install #61

@mdsnor

Description

@mdsnor

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions