Skip to content

Whitelist cove and money in docker-kill ignore list#11

Open
pstaylor-patrick wants to merge 1 commit into
masterfrom
docker-kill-ignore-cove-money
Open

Whitelist cove and money in docker-kill ignore list#11
pstaylor-patrick wants to merge 1 commit into
masterfrom
docker-kill-ignore-cove-money

Conversation

@pstaylor-patrick

Copy link
Copy Markdown
Owner

What

Follow-up to #10. Adds the cove and money stacks to bash/docker-kill.ignore so 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 project cove.
  • ^personal-finance-money-[0-9]+$: money runs under compose project personal-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 is cove_cove-pgdata, not cove-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.dockerkill runs 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

  • Names taken from each repo's compose file and confirmed with docker compose config (cove's volume resolves to cove_cove-pgdata).
  • Checked every ERE against the expected resource names and against unrelated names (redis, postgres, other compose projects) to confirm no over-match.

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-shutdown and started at 06:05 by com.pst.money-startup, so its morning agent is a daily start, not only wipe recovery; that one needs a decision before removal.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant