feat: add event cleanup scripts and Docker Compose setup for automated maintenance

This commit is contained in:
Arunavo Ray
2025-05-21 02:25:05 +05:30
parent 6d13ff29ca
commit 04e8b817d3
9 changed files with 207 additions and 8 deletions

View File

@@ -18,6 +18,7 @@
"reset-users": "bun scripts/manage-db.ts reset-users",
"migrate-db": "bun scripts/migrate-db.ts",
"cleanup-redis": "bun scripts/cleanup-redis.ts",
"cleanup-events": "bun scripts/cleanup-events.ts",
"preview": "bunx --bun astro preview",
"start": "bun dist/server/entry.mjs",
"start:fresh": "bun run cleanup-db && bun run manage-db init && bun dist/server/entry.mjs",