fix: run ProxCenter Postgres as UID 70
This commit is contained in:
@@ -91,6 +91,9 @@ services:
|
|||||||
# ========================================
|
# ========================================
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
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:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER:-proxcenter}
|
- POSTGRES_USER=${POSTGRES_USER:-proxcenter}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
|||||||
Reference in New Issue
Block a user