Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Suggestion - Add log trimming to docker-compose #12

@alecisec

Description

@alecisec

I've modified my docker-compose.yml to add the following:

logging:
  driver: "json-file"
  options:
    max-size: "200k"
    max-file: "10"

some variation on this might be appropriate for the example yml to prevent logs becoming unmanageable (STDERR output isn't capped and bloats the container after long running periods)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions