Memory usage growing fix

Change-Id: Ia4cf3c5f7c000569fb7fb639913bbbbdb5c63ded
Issue-ID: VID-196
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 3da8be5..a347659 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -5,6 +5,7 @@
 

 RUN sed -i 's/# alias/alias/g' /root/.bashrc

 

+ENV JAVA_OPTS="-Xmx1536m -Xms1536m"

 

 ENV ROOT_DIR /opt/app/vid

 

diff --git a/deliveries/src/main/docker/docker-files/docker-compose.yml b/deliveries/src/main/docker/docker-files/docker-compose.yml
index d2c4e4b..508867a 100755
--- a/deliveries/src/main/docker/docker-files/docker-compose.yml
+++ b/deliveries/src/main/docker/docker-files/docker-compose.yml
@@ -6,8 +6,6 @@
                 - "8080:8080"

                 links:

                 - vid-mariadb:vid-mariadb-docker-instance

-                environment:

-                - JVM_OPTS=-Xmx1536m -Xms1536m

         vid-mariadb:

                 image: mariadb:10.1.11

                 ports: