Persistent dev db & cleanup#141
Merged
Merged
Conversation
This comment was marked as low quality.
This comment was marked as low quality.
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
docker-compose.yml (1)
51-52: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valuePublish the database port to the host for easier local development.
Using
exposeonly makes the port available to other containers on the Docker network. For a local development environment, it is highly recommended to publish the port to the host machine usingportsso developers can easily connect to the database using external SQL clients (e.g., DBeaver, DataGrip).💡 Proposed refactor
- expose: - - "5432" + ports: + - "5432:5432"🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docker-compose.yml` around lines 51 - 52, Update the database service configuration near the existing expose entry to publish port 5432 to the host using ports, enabling local SQL clients to connect; replace the expose-only configuration while preserving the container’s database port.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@infra/docker-compose.yml`:
- Line 36: Revert the PostgreSQL image in the Docker Compose database service to
postgres:15-alpine, preserving compatibility with existing db-data volumes. Do
not upgrade the major version without adding an explicit migration strategy.
---
Nitpick comments:
In `@docker-compose.yml`:
- Around line 51-52: Update the database service configuration near the existing
expose entry to publish port 5432 to the host using ports, enabling local SQL
clients to connect; replace the expose-only configuration while preserving the
container’s database port.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: a990cc6d-dd8d-498a-b5b9-db7b3b0e8d24
📒 Files selected for processing (4)
best_practices.mddocker-compose.ymlinfra/docker-compose.ymlinfra/k8s/namespace.yaml
💤 Files with no reviewable changes (1)
- best_practices.md
paulwiese
approved these changes
Jul 18, 2026
paulwiese
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! We should have added this sooner :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of change
API changes
api/openapi.yamlupdated andapi/scripts/gen-all.shre-runDefinition of Done
Summary by CodeRabbit
New Features
Improvements
Documentation