You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Important: UID/GID Configuration for Pre-built Images
133
+
134
+
Pre-built images from `ghcr.io` have the `postgres` user baked in with **UID/GID 999**. Your `.env` must match:
135
+
136
+
```bash
137
+
POSTGRES_UID=999
138
+
POSTGRES_GID=999
139
+
```
140
+
141
+
**Why this matters:** The `volume_prep` service uses these values to `chown` data directories. If they don't match the image's baked-in UID, you'll see permission errors like:
142
+
143
+
```
144
+
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
145
+
```
146
+
147
+
**Building locally?** If you set `CORE_DATA_BUILD_IMAGE=1`, you can use your host user's UID/GID instead—the image build process will create the postgres user with your specified IDs.
148
+
132
149
## Highlights
133
150
134
151
* Custom Docker image with PostGIS, pgvector, Apache AGE, pg\_cron, pg\_squeeze, pgAudit, pgBadger, pgBackRest, and pgtune baked in.
0 commit comments