Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Add log rotation and volume mount for apache#11

Open
kryton wants to merge 3 commits intodocker-archive:masterfrom
kryton:master
Open

Add log rotation and volume mount for apache#11
kryton wants to merge 3 commits intodocker-archive:masterfrom
kryton:master

Conversation

@kryton
Copy link

@kryton kryton commented Feb 17, 2015

apache generates log files, which if left unchecked, will grow until you run out of disk.
this patch does two things.

  1. uses log rotation (via logrotate) to create daily log files
  2. exposes the volume so that other programs/containers can purge/read these files

@fermayo
Copy link
Contributor

fermayo commented Feb 20, 2015

Hi krtyon,

Why did you modify run.sh?

@kryton
Copy link
Author

kryton commented Feb 20, 2015

Hi Fermayo.
it was a mistake. (i typically use 'run.sh' to run docker containers, not in them.. )
I reverted it.

@Potherca
Copy link

👍

@kryton
Copy link
Author

kryton commented Jun 3, 2015

fermayo.. any chance of pushing this through??

@fermayo
Copy link
Contributor

fermayo commented Jun 3, 2015

Hi there! You are still pushing a build.sh file which shouldn't be part of this PR. Can you please remove that file and squash your commits?
@tifayuki can you please review?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants