Skip to content

Commit

Permalink
PRD-369 Fixing permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BrenoQVDS committed Jan 21, 2025
1 parent 7968421 commit 71a1720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ else
[ ! -d "$PGDATA" ] && {
LANG=${LANG:-en_US.utf8} /usr/pgsql-14/bin/initdb -D "$PGDATA" --username "$PGUSER"
}

chown -R "$PGUSER":"$PGUSER" "$PGDATA"
chmod -R 0700 "$PGDATA"

# internal start of server in order to allow set-up using psql-client
Expand Down

0 comments on commit 71a1720

Please sign in to comment.