Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logrotate a subfolder folder inside a volume #42

Open
nine-2-five opened this issue Jul 6, 2022 · 0 comments
Open

Logrotate a subfolder folder inside a volume #42

nine-2-five opened this issue Jul 6, 2022 · 0 comments

Comments

@nine-2-five
Copy link

Any way to log rotate a subfolder of a volume?
I've tried:

volumes:
  - /var/lib/docker/volumes/wp_docker_litespeed_lsws_sites/_data/localhost/wp_logs:/var/log/wp

and

LOGS_DIRECTORIES: "/var/lib/docker/containers /var/log/docker /var/lib/docker/volumes /var/log/wp"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant