Skip to content
Snippets Groups Projects
Commit 336c7e8b authored by diazb's avatar diazb Committed by diazb
Browse files

Adds log rotation for MON and POL in docker-compose.yaml


Sets maximum number of log files to 5 per module, with max size 10MB each.

Change-Id: I6cd23ea0f3e785ed31813355b9ef5f3f3f1b1410
Signed-off-by: default avatarBenjamin Diaz <bdiaz@whitestack.com>
parent c50ed8f2
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,11 @@ services:
- "${OSM_MON_PORTS:-8662:8662}"
#depends_on:
# - kafka
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
pol:
image: ${DOCKER_USER:-opensourcemano}/pol:${TAG:-latest}
networks:
......@@ -155,6 +160,11 @@ services:
#depends_on:
# - kafka
# - mon
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
light-ui:
image: ${DOCKER_USER:-opensourcemano}/light-ui:${TAG:-latest}
networks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment