Commit 2261dd8
fix: use named volumes for indexer and processor databases
Both compose stacks declared their database data on anonymous volumes
(cockroach `- /cockroach/cockroach-data`, postgres `- /var/lib/postgresql/data`).
Anonymous volumes are bound to a specific container, so a service rename or
recreate (e.g. the recent db -> cockroachdb rename) orphans the old volume and
starts with empty data — forcing a full re-ingest/resync.
Switch both to named volumes (cockroach-data, postgres-data) so database data
survives renames and recreations.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6e9497e commit 2261dd8
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
0 commit comments