mirror of
https://github.com/basnijholt/compose-farm.git
synced 2026-02-13 10:22:56 +00:00
* update: Only restart containers when images change Use `up -d --pull always --build` instead of separate pull/build/down/up steps. This avoids unnecessary container restarts when images haven't changed. * Update README.md * docs: Update update command description across all docs Reflect new behavior: only recreates containers if images changed. * Update README.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
33 lines
555 B
VHS
33 lines
555 B
VHS
# Update Demo
|
|
# Shows updating stacks (only recreates containers if images changed)
|
|
|
|
Output docs/assets/update.gif
|
|
Output docs/assets/update.webm
|
|
|
|
Set Shell "bash"
|
|
Set FontSize 14
|
|
Set Width 900
|
|
Set Height 500
|
|
Set Theme "Catppuccin Mocha"
|
|
Set TypingSpeed 50ms
|
|
|
|
Type "# Update a single stack"
|
|
Enter
|
|
Sleep 500ms
|
|
|
|
Type "cf update grocy"
|
|
Enter
|
|
# Wait for command to complete (chain waits for longer timeout)
|
|
Wait+Screen /pull/
|
|
Wait+Screen /grocy/
|
|
Wait@60s
|
|
|
|
Type "# Check current status"
|
|
Enter
|
|
Sleep 500ms
|
|
|
|
Type "cf ps grocy"
|
|
Enter
|
|
Wait+Screen /PORTS/
|
|
Sleep 1s
|