Skip to content

docker logging size #1

Description

@mchosc

in the main docker-compose.yaml file it would be great to add docker container trimming for example:

version: '3.6'
services:
    nodeos:
        env_file:
            - .env
        extends:
            file: ./configs/docker/nodeos-minimal-api.yaml
            service: nodeos
        logging:
            driver: "json-file"
            options:
              max-size: "500k"
              max-file: "1024"
    nginx:
        depends_on:
            - nodeos
        extends:
            file: ./configs/docker/nginx.yaml
            service: nginx
        profiles: ["nginx"]
        logging:
            driver: "json-file"
            options:
              max-size: "500k"
              max-file: "1024"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions