portainer: archive the twelve stacks from 132 before decommission #1

Merged
pit merged 1 commit from hermes/w0-8-extraction into main 2026-11-11 17:45:03 +00:00
Owner

Summary

A read-only snapshot of everything Portainer on 132 held, taken before that guest is decommissioned
(W0.5), so the stacks that only ever lived in its BoltDB survive it.

ARCHIVE-README.md
inventory/
  stack-guest-map.md      stack -> guest, with the evidence per endpoint
  secret-paths.md         OpenBao paths and key names (no values)
  stacks.json             the same inventory, machine-readable
portainer-host/           the compose file that ran Portainer itself on 132
stacks/<id>-<name>-<guest>/
  docker-compose.yml      as Portainer stored it, inline secrets reduced to ${VAR}
  stack.env.example       the variables it needs, values blank
  STACK.md                endpoint, guest, status today, how to rebuild

Twelve stacks. Four still run — 87 immich on 113, 98 wireguard on 116, 107 calibre-web on 114,
111 romm on 120 — and are the four a wave has to codify. The other eight are stale: five stock
watchtower duplicates, two transmission-vpn stacks superseded by qBittorrent on 110, and one
inactive couchdb whose host no longer exists.

Ticket: THE-28

Evidence

Before After
Where the stacks existed Portainer's BoltDB + /opt/portainer/data/compose on 132 the same content under stacks/, readable without the database
Endpoint → guest 5 endpoint rows, 4 of the referenced endpoints (5, 6, 8, 14) already deleted the deleted ones resolved from portainer.db.bak (2026-03-20) and portainer.db.2024-04-22, and every live guest confirmed against its endpoint IP from the guest itself (10.12.0.107 → 110, .115 → 113, .116 → 116, .114 → 114, .120 → 120)
Credentials clear text in portainer.db and in each stack.env OpenBao secret/portainer/<id>; values checked against the running containers by hash (romm 17/17, immich 7/8 — only the version tag differs —, wireguard 4/5)
Leak gate — every stored value hashed against the tree: 0 credential occurrences

Read-only against PROD: no guest changed, no container restarted, no Portainer setting touched. The only
writes were the OpenBao paths named in inventory/secret-paths.md.

Merge Danger

Door: merging publishes the archive; the guest and its containers are untouched either way. Blast
radius: this repository — nothing else reads these files, and the credentials they reference are in the
store, not here.

One finding for that guest's wave rather than for this PR: 113 immich's database password equals its
database user and is a dictionary word. Rotating it belongs to the immich codification in W2.

Agent-written prose.

## Summary A read-only snapshot of everything Portainer on 132 held, taken before that guest is decommissioned (W0.5), so the stacks that only ever lived in its BoltDB survive it. ``` ARCHIVE-README.md inventory/ stack-guest-map.md stack -> guest, with the evidence per endpoint secret-paths.md OpenBao paths and key names (no values) stacks.json the same inventory, machine-readable portainer-host/ the compose file that ran Portainer itself on 132 stacks/<id>-<name>-<guest>/ docker-compose.yml as Portainer stored it, inline secrets reduced to ${VAR} stack.env.example the variables it needs, values blank STACK.md endpoint, guest, status today, how to rebuild ``` Twelve stacks. Four still run — 87 immich on `113`, 98 wireguard on `116`, 107 calibre-web on `114`, 111 romm on `120` — and are the four a wave has to codify. The other eight are stale: five stock `watchtower` duplicates, two `transmission-vpn` stacks superseded by qBittorrent on `110`, and one inactive `couchdb` whose host no longer exists. **Ticket:** [THE-28](https://paperclip.thepit.space/THE/issues/THE-28) ## Evidence | | Before | After | |---|---|---| | Where the stacks existed | Portainer's BoltDB + `/opt/portainer/data/compose` on 132 | the same content under `stacks/`, readable without the database | | Endpoint → guest | 5 endpoint rows, 4 of the referenced endpoints (`5, 6, 8, 14`) already deleted | the deleted ones resolved from `portainer.db.bak` (2026-03-20) and `portainer.db.2024-04-22`, and every live guest confirmed against its endpoint IP from the guest itself (`10.12.0.107` → `110`, `.115` → `113`, `.116` → `116`, `.114` → `114`, `.120` → `120`) | | Credentials | clear text in `portainer.db` and in each `stack.env` | OpenBao `secret/portainer/<id>`; values checked against the running containers by hash (romm 17/17, immich 7/8 — only the version tag differs —, wireguard 4/5) | | Leak gate | — | every stored value hashed against the tree: 0 credential occurrences | Read-only against PROD: no guest changed, no container restarted, no Portainer setting touched. The only writes were the OpenBao paths named in `inventory/secret-paths.md`. ## Merge Danger Door: merging publishes the archive; the guest and its containers are untouched either way. Blast radius: this repository — nothing else reads these files, and the credentials they reference are in the store, not here. One finding for that guest's wave rather than for this PR: `113 immich`'s database password equals its database user and is a dictionary word. Rotating it belongs to the immich codification in W2. Agent-written prose.
Every stack that lived in the Portainer instance on 132 portainer, taken
read-only from its BoltDB and compose directory before the guest goes in W0.5.

- stacks/: compose file per stack with inline secrets reduced to ${VAR}
  references, plus the variable names it needs and a STACK.md carrying the
  endpoint, guest and status of that stack
- inventory/stack-guest-map.md: which guest each stack ran on, with the
  evidence per endpoint (four of them no longer exist and were resolved from
  Portainer's own backups, then confirmed on the live guests)
- inventory/secret-paths.md: where each stack's values live in OpenBao
  (names only; no credential is in this repository)
- portainer-host/: the compose file that ran Portainer itself

Co-Authored-By: Paperclip <noreply@paperclip.ing>
pit merged commit 6812880b82 into main 2026-11-11 17:45:03 +00:00
pit deleted branch hermes/w0-8-extraction 2026-11-11 17:45:03 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/portainer-archive!1
No description provided.