Skip to content

fix: mount postgres-18 volume at /var/lib/postgresql - #78

Merged
ineedjet merged 1 commit into
mainfrom
fix/postgres-18-volume
Jul 31, 2026
Merged

fix: mount postgres-18 volume at /var/lib/postgresql#78
ineedjet merged 1 commit into
mainfrom
fix/postgres-18-volume

Conversation

@ineedjet

Copy link
Copy Markdown
Collaborator

Closes #77

Summary

  • Изменён путь монтирования volume с /var/lib/postgresql/data на /var/lib/postgresql

PostgreSQL 18+ ожидает монтирование родительской директории и сам создаёт версионированную поддиректорию (18/main) внутри. Монтирование в /data вызывало ошибку при старте контейнера.

🤖 Generated with Claude Code

PostgreSQL 18+ images expect the mount at /var/lib/postgresql and create
a versioned subdirectory (18/main) inside it. Mounting at /data causes
startup failure.

Closes #77

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ineedjet
ineedjet merged commit 118c6d2 into main Jul 31, 2026
1 check passed
@ineedjet
ineedjet deleted the fix/postgres-18-volume branch July 31, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: postgres-18.yml volume should mount at /var/lib/postgresql, not /var/lib/postgresql/data

1 participant