Skip to content

docker logging size #1

@mchosc

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions