fix(account): close deletion cache gap
CI and Deploy / test (pull_request) Successful in 5m22s
CI and Deploy / deploy (pull_request) Has been skipped

Require authenticated sidecar cache purge before a deletion can complete and keep failures retryable. Mount tombstones outside restored application data while leaving deletion disabled by default.
This commit is contained in:
cesnimda
2026-08-15 19:40:07 +02:00
parent c0e190d5b5
commit 7185491a05
14 changed files with 134 additions and 20 deletions
+6
View File
@@ -6,10 +6,15 @@ services:
dockerfile: JobTrackerApi/Dockerfile
volumes:
- jobtracker_data:/data
# Kept outside restored application data so an older database/data backup cannot erase the
# deletion ledger used to detect and re-delete resurrected accounts.
- jobtracker_deletion_tombstones:/account-lifecycle/tombstones
environment:
- ASPNETCORE_URLS=http://+:8080
- Data__Root=/data
- Exports__DailyFolder=/data/exports
- AccountLifecycle__DeletionEnabled=${ACCOUNT_DELETION_ENABLED:-false}
- AccountLifecycle__TombstonesRoot=/account-lifecycle/tombstones
- Database__Provider=${DATABASE_PROVIDER:-sqlite}
- ConnectionStrings__JobTracker=${JOBTRACKER_CONNECTION_STRING}
# If you enable HTTPS at a reverse proxy (recommended), handle redirects there.
@@ -230,6 +235,7 @@ services:
volumes:
jobtracker_data:
jobtracker_deletion_tombstones:
ollama_data:
networks: