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

Add limit size for docker json logs #374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BlackYuzia
Copy link

Due some reasons, I make changes in docker compose for me, anyway, choose to share this setting if you want.

  1. Logs max size should be defined globaly in daemon.json (docker), anyway, I make this one changes.
  2. I make only for this one service, because only this one stole my 80 GB of space storage.
    image
  3. I make DOCKER_LOGS_MAX_SIZE env, so if anyone want, he could set custom value (like 512m or etc), default is 1000m
  4. I saw, what I break ' and it " now, idk how it happen, feel free to tell me if I should change it back to '
  5. Tested locally, but better to test again, just for sure.

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

Successfully merging this pull request may close these issues.

1 participant