Add json-file logging limits to compose
Create and publish a Docker image / build-and-push-image (push) Successful in 1m43s
Create and publish a Docker image / build-and-push-image (push) Successful in 1m43s
This commit is contained in:
@@ -15,4 +15,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "9001:8080"
|
- "9001:8080"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user