🎬 ARR Suite Template Bootstrap - Complete Media Automation Stack Features: - 16 production services (Prowlarr, Sonarr, Radarr, Plex, etc.) - One-command Ansible deployment - VPN-protected downloads via Gluetun - Tailscale secure access - Production-ready security (UFW, Fail2Ban) - Automated backups and monitoring - Comprehensive documentation Ready for customization and deployment to any VPS. Co-authored-by: openhands <openhands@all-hands.dev>
27 lines
591 B
Django/Jinja
27 lines
591 B
Django/Jinja
# Docker container log rotation configuration
|
|
# Generated by Ansible
|
|
|
|
/var/lib/docker/containers/*/*.log {
|
|
daily
|
|
rotate {{ log_max_files }}
|
|
size {{ log_max_size }}
|
|
compress
|
|
delaycompress
|
|
missingok
|
|
notifempty
|
|
create 0644 root root
|
|
postrotate
|
|
/bin/kill -USR1 $(cat /var/run/docker.pid 2>/dev/null) 2>/dev/null || true
|
|
endscript
|
|
}
|
|
|
|
{{ docker_root }}/logs/*.log {
|
|
daily
|
|
rotate {{ log_max_files }}
|
|
size {{ log_max_size }}
|
|
compress
|
|
delaycompress
|
|
missingok
|
|
notifempty
|
|
create 0644 {{ docker_user }} {{ docker_group }}
|
|
} |