Skip to content

set pgport if !5432 on docker #410

Open
@pvgenuchten

Description

@pvgenuchten

docker has a script that checks if postgres is running prior to starting the webapp
this script assumes the default port, usually 5432
but you can set a environment variable PGPORT to the relevant db port/. Psql will then use that port

typically you will get this type of messages, if there is a bad port

Check if Postgres is avail/ready...
12 example.com:5432 - no response
11 Exit code=2 - Postgres not ready - sleeping
10 example.com:5432 - no response

suggestion to include this aspect in docker documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions