22 lines
486 B
YAML
22 lines
486 B
YAML
# Custom logging configuration
|
|
#
|
|
# Set these to control the Docker logging driver and options.
|
|
|
|
# Logging settings
|
|
#
|
|
# These go under the logging key in the configuration file.
|
|
#
|
|
# This can be specified at the root level or for a specific role.
|
|
logging:
|
|
|
|
# Driver
|
|
#
|
|
# The logging driver to use, passed to Docker via `--log-driver`:
|
|
driver: json-file
|
|
|
|
# Options
|
|
#
|
|
# Any logging options to pass to the driver, passed to Docker via `--log-opt`:
|
|
options:
|
|
max-size: 100m
|