Log rotation isn't working correctly at least for nginx.
Multiple issues
Logrotate doesn't seem to be able to properly signal and restart nginx and thus it keeps writing to old logs e.g never writes to a fresh access.log and continues writing to a renamed access.log.1
The processes writing to the log file maybe need the /var/log/nginx directory owned by www-data
In a local installation two changes appear to work
Log rotation isn't working correctly at least for nginx.
Multiple issues
In a local installation two changes appear to work
because copytruncate bypasses issues with create
chmod www-data /var/log/nginx
docker file needs to be updated with these changes, changes tested and other log rotation checked