chore: implement hourly reset CronJob for prod and UAT

- Add ALLOW_RESET env var override to reset.ts safety guard
- Add reset Docker build target to Dockerfile
- Add reset image build step to CI docker job
- Add reset image tag update to CD job dev overlay update

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #240.
This commit is contained in:
Flea Flicker
2026-04-07 20:01:56 +00:00
parent 0fe10434e1
commit 9be6a87105
3 changed files with 20 additions and 2 deletions
+4
View File
@@ -43,3 +43,7 @@ CMD ["pnpm", "db:migrate"]
# Seed stage — populates the database with test data
FROM builder AS seed
CMD ["pnpm", "db:seed"]
# Reset stage — drops all tables, re-runs migrations, and re-seeds
FROM builder AS reset
CMD ["pnpm", "db:reset"]