Skip to content

add persisting logs to the docker containers with log volumes and log rotation corn job

Pratik Mundhe requested to merge persist_logs_hardkpentium into develop
  • add persisting logs to the docker containers mounting app/logs directory and using app_logs volume in the dockerfile
  • added corn job for log retention for 30 days by default in the log retention policy, with weekly cleanup of /tmp and monthly compression of the log app/logs files that has been changed before more than 7 days
  • added uv cache to avoid redundant setup when running docker build for faster startup
  • changed startup.sh for including sufficient permission (755) to the while creating the app/logs directory
Edited by Pratik Mundhe

Merge request reports

Loading