Add docker-compose-update tool for automated stack updates#6
Merged
Conversation
Co-authored-by: punppis <6446823+punppis@users.noreply.github.com>
Co-authored-by: punppis <6446823+punppis@users.noreply.github.com>
Co-authored-by: punppis <6446823+punppis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Docker Compose update tool for Debian/Ubuntu
Add docker-compose-update tool for automated stack updates
Jan 29, 2026
punppis
approved these changes
Jan 29, 2026
Copilot stopped work on behalf of
punppis due to an error
January 29, 2026 23:41
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.
Adds
docker-compose-updatepackage that updates Docker Compose stacks with parallel execution and concurrency control. Updates running projects by default or scans filesystem with--all.Implementation
Detection modes
com.docker.compose.project.working_dir) for running projects--all: finds compose files via recursive search (home directory default, configurable with--root)Execution model
xargs -P(CPU count default, override with--jobs)/var/lock/docker-compose-update.lock) prevents concurrent runs.envfilesDocker operations
docker compose pulldocker compose up -d --force-recreate --remove-orphansdocker system prune -a --volumes --force(once at end, per-project, or disabled)CLI
Options:
--all,--root DIR,--max-depth N,--jobs N,--no-prune,--prune-each,--dry-run,--helpTechnical notes
xargs -0) handle spaces in directory namestraphandlers ensure lock release andpopdcleanup on exit/errorset -euo pipefail) with proper error propagationOriginal prompt
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.