Skip to content

POSTGRES_PASSWORD can be more secure #90

@ollyg

Description

@ollyg

needs to wait for us to have our own entrypoint though, so we can call:

if [ ! -s "${PGDATA}/PG_VERSION" ]; then
  exec env POSTGRES_PASSWORD=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) \
    /usr/local/bin/docker-entrypoint.sh "$@"
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions