aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeepikasatheesh <deepika.s84@wipro.com>2022-07-01 08:59:59 +0000
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2022-10-13 22:12:00 +0000
commitdada878a67fe40a1371590d7a8127e6aced6f8de (patch)
tree71ca66bf527372ee019804654db7f63c3d69de36
parent6e2a9f94f63c57786fd9b6d4ba5f53cb66f7f5e2 (diff)
Add logging to fix memory issue in ran-simulator
Issue-ID: INT-2132 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I2997a67747534db3c66e328fa00ff9b74ecdf1d2
-rw-r--r--ransim/docker/docker-compose.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ransim/docker/docker-compose.yml b/ransim/docker/docker-compose.yml
index 6c5c2ba..0e2526b 100644
--- a/ransim/docker/docker-compose.yml
+++ b/ransim/docker/docker-compose.yml
@@ -17,6 +17,11 @@ services:
- './config/db:/docker-entrypoint-initdb.d'
ports:
- '43306:3306'
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
ransim:
image: 'onap/ransim:1.0.0-SNAPSHOT'
container_name: ransim
@@ -32,3 +37,8 @@ services:
volumes:
- './config/ransim:/tmp/ransim-install/config'
- './config/ransim/jssecacerts:/tmp/cert/jssecacerts'
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"