Add basic logging

This commit is contained in:
2026-04-22 12:47:17 +05:30
parent 204b12d5f7
commit 9578502bca
17 changed files with 1385 additions and 238 deletions
+14
View File
@@ -0,0 +1,14 @@
# coolify.yaml - Coolify deployment configuration
version: 1
services:
- name: ask262
cronjobs:
- name: "log-rotation"
schedule: "*/5 * * * *" # Every 5 minutes
command: "logrotate -f /app/logrotate.conf 2>/dev/null || true"
- name: "log-cleanup"
schedule: "0 0 * * *" # Daily at midnight
command: "find ${ASK262_LOG_DIR:-/app/logs} -name 'ask262.jsonl.*' -mtime +${ASK262_LOG_RETENTION_DAYS:-30} -delete 2>/dev/null || true"