fix: run ProxCenter Postgres as UID 70

This commit is contained in:
2026-06-05 19:29:16 +00:00
parent 8f0dc1aeb0
commit a7bdd4cd16

View File

@@ -91,6 +91,9 @@ services:
# ========================================
postgres:
image: postgres:16-alpine
# Run as the postgres UID/GID used by postgres:16-alpine so the NFS-backed
# data directory can be owned by 70:70 on TrueNAS and avoid startup chown failures.
user: "70:70"
environment:
- POSTGRES_USER=${POSTGRES_USER:-proxcenter}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}