Skip to content

Use Homebrew Postgres for production#24

Merged
selfcontained merged 1 commit into
mainfrom
setup/homebrew-postgres
Mar 10, 2026
Merged

Use Homebrew Postgres for production#24
selfcontained merged 1 commit into
mainfrom
setup/homebrew-postgres

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Switch production setup from Docker Desktop to Homebrew PostgreSQL 17
    • Native, no VM overhead
    • Starts at boot via brew services (launchd-managed)
    • Eliminates the Docker Desktop startup race on reboot
  • Docker Compose remains available for isolated dev databases
  • Updated bin/preflight to check for Homebrew Postgres (required) and Docker (optional)
  • Updated setup guide and agent prompt accordingly

Test plan

  • bin/preflight correctly detects Homebrew Postgres vs Docker
  • Fresh install with brew install postgresql@17 + brew services start works
  • Server connects to Homebrew Postgres on startup
  • docker compose up -d postgres still works for dev use

🤖 Generated with Claude Code

Production setup now uses native Homebrew PostgreSQL — no Docker VM
overhead, starts at boot via brew services, eliminates the Docker
Desktop startup race on reboot. Docker Compose remains available for
isolated dev databases when needed.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit eca1ebd into main Mar 10, 2026
1 check passed
@selfcontained
selfcontained deleted the setup/homebrew-postgres branch April 9, 2026 03:01
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.

1 participant