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:
2025-11-11 01:44:46 +00:00
parent 95c867bf69
commit 0f75fbf226

View File

@@ -1,13 +1,11 @@
services:
postgres:
postgresSQL:
image: postgres:17-alpine
secrets:
- postgres-master
networks:
- homelab
environment:
- PUID=1000
- PUIG=1000
- POSTGRES_USER=admin
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master
- PGDATA=/var/lib/postgresql/data