datafruits / radio

liquidsoap and icecast configuration for streampusher
8 stars 1 forks source link

rotate logs in icecast container #21

Open mcfiredrill opened 2 years ago

mcfiredrill commented 2 years ago

If you docker exec into the icecast container on production, you'll see there are a huge amount of logs.

icecast@4b00337b2578:/usr/local/share/icecast/logs$ du -h .       
31G     

This causes the disk to fill up pretty often. These need to be rotated properly by setting up logrotate in the docker image.