mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
- Add ANALYTICS_RETENTION_DAYS env var (default: 7) to supabase-db - Create _analytics.cleanup_old_logs() function that deletes old log_events_* records based on app.analytics_retention_days setting - Add analytics-retention.sh init script that: - Sets app.analytics_retention_days from ANALYTICS_RETENTION_DAYS env var - Schedules nightly cleanup at 03:00 UTC via pg_cron Postgres backend has no built-in log retention, causing unbounded growth of _analytics.log_events_* tables (~700MB/week typical). |
||
|---|---|---|
| .. | ||
| compose | ||
| service-templates-latest.json | ||
| service-templates.json | ||
| test-database-detection.yaml | ||