Adding fallback values for log limits if not set in ENV.
This commit is contained in:
parent
e24006fc96
commit
6d4a7fda85
|
@ -18,5 +18,5 @@ services:
|
|||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE}"
|
||||
max-file: "${LOG_MAX_FILE}"
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
||||
|
|
|
@ -20,8 +20,8 @@ services:
|
|||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE}"
|
||||
max-file: "${LOG_MAX_FILE}"
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
||||
|
||||
volumes:
|
||||
murmur-data:
|
||||
|
|
|
@ -15,5 +15,5 @@ services:
|
|||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE}"
|
||||
max-file: "${LOG_MAX_FILE}"
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
||||
|
|
Loading…
Reference in a new issue