chore(docker): limit app container log size to 15MB with 3 file rotation
This commit is contained in:
@@ -7,6 +7,11 @@ services:
|
||||
- "9091:9091"
|
||||
networks:
|
||||
- cca_network
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "15m"
|
||||
max-file: "3"
|
||||
|
||||
app:
|
||||
build:
|
||||
@@ -57,6 +62,11 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "15m"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
cca_network:
|
||||
|
||||
Reference in New Issue
Block a user