-
-
Notifications
You must be signed in to change notification settings - Fork 308
fix: pin postgres version to 17.6 (avoid any breaking changes) #4767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: pin postgres version to 17.6 (avoid any breaking changes) #4767
Conversation
…r avoiding any breaking changes)
WalkthroughThe PostgreSQL Docker image tag in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Knowledge base: Disabled due to 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes: #4765
Description
Pin Postgres Docker image to v17
Postgres 18+ changes the default data directory used by Docker, breaking compatibility with existing volumes created using Postgres 17 or earlier. The DB container fails to start if we use postgres:latest because our volume mount expects the old directory path.
Pinning the image to postgres:17 keeps our stack working and prevents unexpected crashes from automatic major upgrades. This fixes the startup issue without needing data migration.
Reference: Docker breaking change in Postgres 18
Docker compose test, runned successfully

Summary by CodeRabbit