Fix PostgreSQL stack configuration
- Remove invalid PUID/PUIG environment variables (not supported by official Postgres image) - Fix service name from 'postgres' to 'postgresSQL' to match configuration references - Resolve permission errors on data directory mount 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,13 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgresSQL:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
secrets:
|
secrets:
|
||||||
- postgres-master
|
- postgres-master
|
||||||
networks:
|
networks:
|
||||||
- homelab
|
- homelab
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
|
||||||
- PUIG=1000
|
|
||||||
- POSTGRES_USER=admin
|
- POSTGRES_USER=admin
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master
|
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master
|
||||||
- PGDATA=/var/lib/postgresql/data
|
- PGDATA=/var/lib/postgresql/data
|
||||||
|
|||||||
Reference in New Issue
Block a user