Initial template repository
🎬 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>
This commit is contained in:
27
templates/docker-container-logrotate.j2
Normal file
27
templates/docker-container-logrotate.j2
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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 }}
|
||||
}
|
||||
Reference in New Issue
Block a user