fix: add remove_orphans to docker compose tasks
All checks were successful
CI/CD / syntax-check (push) Successful in 1m33s
CI/CD / deploy (push) Successful in 14m0s

Ensures removed services (vaultwarden, mailserver, snappymail)
are automatically stopped on next deploy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-26 07:00:17 +07:00
parent 4090d8289b
commit c1a71b7f50
2 changed files with 2 additions and 0 deletions

View file

@ -37,6 +37,7 @@
project_src: "{{ services_root }}"
state: present
pull: never
remove_orphans: true
retries: 3
delay: 15
register: compose_result

View file

@ -39,3 +39,4 @@
project_src: "{{ tools_root }}"
state: present
pull: missing
remove_orphans: true