Commit 5343006
committed
fix(demo): let compose demo use the default throwaway DB so restarts reseed
Passing --db /tmp/cmdb-demo.db made the compose demo look like a user-supplied
database, so the wipe guard refused to reseed when a stopped demo container was
restarted with /tmp intact. That path is already the in-container default —
drop --db and CMDB_DB_PATH so the default-path auto-wipe applies.
Verified: container run → stop → start reseeds and serves, no refusal.
Reported by codex review on PR #6.1 parent 47bb4f4 commit 5343006
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 30 | + | |
0 commit comments