mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
FIX (docker): Chown /var/run/postgresql after UID/GID adjustment to fix PostgreSQL lock file permission denied on startup
This commit is contained in:
@@ -312,6 +312,8 @@ if [ "\$CURRENT_UID" != "\$PUID" ]; then
|
||||
usermod -o -u "\$PUID" postgres
|
||||
fi
|
||||
|
||||
chown -R postgres:postgres /var/run/postgresql
|
||||
|
||||
# PostgreSQL 17 binary paths
|
||||
PG_BIN="/usr/lib/postgresql/17/bin"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user