From 9233b72dcfd4f44f7e30dd0d699530493e87072d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 30 Nov 2025 16:48:43 +0900 Subject: feat(db): add Docker Compose for PostgreSQL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add docker-compose.yml with PostgreSQL 17 Alpine image for local development. Includes healthcheck, volume persistence, and environment variable configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 46bfb35..4d90b2f 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,9 @@ A spaced repetition learning application (Anki clone) with PWA offline support a - Node.js 22+ - pnpm 10+ -- PostgreSQL 15+ -- Docker (optional) +- PostgreSQL 18+ +- Docker +- Direnv (optional) ### Development @@ -24,8 +25,8 @@ A spaced repetition learning application (Anki clone) with PWA offline support a # Install dependencies pnpm install -# Start PostgreSQL (with Docker) -docker compose up -d postgres +# Start containers +docker compose up # Run database migrations pnpm --filter server db:migrate -- cgit v1.2.3-70-g09d2