services: my-app: build: . logging: driver: json-file options: max-size: 1m max-file: '3' 説æ loggingã®optionsã«max-sizeã¨max-fileãæå®ãã¾ãã max-sizeãããã§ãã°ããã¼ã«ãªã¼ãã¼ãããmax-fileã®æ°ã ããã°ä¿æããã¾ãã çåç¹ ãã°ã¯ãdocker-compose logsãdocker logsã³ãã³ãã§ç¢ºèªãã¾ããããã¼ã«ãªã¼ãã¼ãããå¤ããã°ã¯ã©ãæ±ãããã®ã§ããããã æ¤è¨¼ ã¨ãããããstdoutã«ãã©ãã©åºåããã³ã³ãããä½æãã¾ãã
{{#tags}}- {{label}}
{{/tags}}