Whitelist cove and money in docker-kill ignore list#11
Open
pstaylor-patrick wants to merge 1 commit into
Open
Conversation
Keep the cove (Postgres + app) and money containers, their images, cove's Postgres volume, and both compose networks through the nightly wipe, the same way dev-caddy is kept. money uses a host bind mount, so it has no docker volume to list.
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.
What
Follow-up to #10. Adds the cove and money stacks to
bash/docker-kill.ignoreso the nightly wipe leaves them in place, the same way dev-caddy is kept.Containers
^cove-(app|db)-[0-9]+$: cove runs Postgres (db) plus the app (app) under compose projectcove.^personal-finance-money-[0-9]+$: money runs under compose projectpersonal-finance.Images
^cove-app:: the cove app image is built locally.^pgvector/pgvector:: cove's Postgres image.^money:dev$: money's locally built image.Volumes
^cove_cove-pgdata$: cove's Postgres data. Compose prefixes the project name, so the real volume iscove_cove-pgdata, notcove-pgdata. money uses a host bind mount, so it has no docker volume.Networks
^cove_default$and^personal-finance_default$: the compose default networks.Why
These stacks live on the same orbstack context the nightly
com.pst.dockerkillruns against, so without an entry they get wiped at 06:00 and have to be rebuilt by per-app 06:05 restore agents. Keeping them lets those restore agents be retired.Validation
docker compose config(cove's volume resolves tocove_cove-pgdata).Note
This change is additive: it can only prevent deletion, never cause it. Retiring the per-app 06:05 restore agents is a separate step. money is stopped nightly at 18:00 by
com.pst.money-shutdownand started at 06:05 bycom.pst.money-startup, so its morning agent is a daily start, not only wipe recovery; that one needs a decision before removal.