sync public allowlist from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:36:17 +00:00
parent 6f7fd61ee9
commit 874796c860
720 changed files with 2841 additions and 69563 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Create pgpass inside the container (mode 0600). Bind-mounted files from Windows
# cannot satisfy pgAdmin's permission check.
set -eu
PASSFILE=/var/lib/pgadmin/pgpass
printf '%s\n' 'postgres:5432:*:myoffice:myoffice' > "$PASSFILE"
chown 5050:0 "$PASSFILE" 2>/dev/null || true
chmod 600 "$PASSFILE"
exec /entrypoint.sh "$@"