Skip to content

feat(reccoom): add migration service#266

Merged
dargmuesli merged 1 commit intomainfrom
feat/reccoom/migration
May 5, 2026
Merged

feat(reccoom): add migration service#266
dargmuesli merged 1 commit intomainfrom
feat/reccoom/migration

Conversation

@dargmuesli
Copy link
Copy Markdown
Member

A service that applies reccoom's migrations until it succeeds, then it does not start again until updated.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated one-shot (retry-until-success) migration container for the reccoom service in the development Docker Swarm stack, and documents it alongside the other stack services.

Changes:

  • Introduces a new reccoom_migration service that runs alembic upgrade head and restarts only on failure.
  • Wires the migration service to the reccoom_postgres connection via the same secret-to-/run/environment-variables/* pattern used by reccoom.
  • Documents the new service in the README.md services list.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/development/stack.yml Adds reccoom_migration service definition (command, restart policy, DB host/env, secrets, volume mount).
README.md Documents reccoom_migration in the services section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dargmuesli dargmuesli merged commit e71b66a into main May 5, 2026
12 checks passed
@dargmuesli dargmuesli deleted the feat/reccoom/migration branch May 5, 2026 03:40
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 18.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants