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:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-size: "${LOG_MAX_SIZE}"
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||||
max-file: "${LOG_MAX_FILE}"
|
max-file: "${LOG_MAX_FILE:-5}"
|
||||||
|
|
|
@ -20,8 +20,8 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-size: "${LOG_MAX_SIZE}"
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||||
max-file: "${LOG_MAX_FILE}"
|
max-file: "${LOG_MAX_FILE:-5}"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
murmur-data:
|
murmur-data:
|
||||||
|
|
|
@ -15,5 +15,5 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-size: "${LOG_MAX_SIZE}"
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||||
max-file: "${LOG_MAX_FILE}"
|
max-file: "${LOG_MAX_FILE:-5}"
|
||||||
|
|
Loading…
Reference in a new issue