[PR #1498] [CLOSED] fix: Update docker development environment with automatic database migrations #1847

Closed
opened 2026-03-02 11:59:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1498
Author: @AdrianAcala
Created: 5/30/2025
Status: Closed

Base: mainHead: fix/docker-dev-env-setup


📝 Commits (1)

  • 678e451 fix: Update docker development environment with automatic database migrations

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 docker/docker-compose.dev.yml (+1 -2)

📄 Description

  • Add automatic database migration execution in prep service
  • Ensure database schema is applied before web/workers services start
  • Resolves issues with docker-compose.dev.yml setup for complete development environment
  • Database migrations now run automatically via pnpm db:migrate in prep container

This provides a fully functional development environment that mirrors production setup where migrations run automatically on container startup.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/1498 **Author:** [@AdrianAcala](https://github.com/AdrianAcala) **Created:** 5/30/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/docker-dev-env-setup` --- ### 📝 Commits (1) - [`678e451`](https://github.com/karakeep-app/karakeep/commit/678e4515bc9fc038e3ca7913ad94e733753a6199) fix: Update docker development environment with automatic database migrations ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/docker-compose.dev.yml` (+1 -2) </details> ### 📄 Description - Add automatic database migration execution in prep service - Ensure database schema is applied before web/workers services start - Resolves issues with docker-compose.dev.yml setup for complete development environment - Database migrations now run automatically via `pnpm db:migrate` in prep container This provides a fully functional development environment that mirrors production setup where migrations run automatically on container startup. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:59:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1847
No description provided.