summaryrefslogtreecommitdiffstats
path: root/deliveries/src
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-04-17 11:21:39 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-04-17 11:21:39 +0300
commit1f04e8e626c306a0b9abd00bc9a024dfc9a253fc (patch)
tree668556636278c03bef6012c00830679333d50165 /deliveries/src
parent3e3599d00f987e50a3041a8d371e1daa88e37d5e (diff)
Memory usage growing fix
Change-Id: Ia4cf3c5f7c000569fb7fb639913bbbbdb5c63ded Issue-ID: VID-196 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'deliveries/src')
-rwxr-xr-xdeliveries/src/main/docker/docker-files/Dockerfile1
-rwxr-xr-xdeliveries/src/main/docker/docker-files/docker-compose.yml2
2 files changed, 1 insertions, 2 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile
index 3da8be52..a347659a 100755
--- a/deliveries/src/main/docker/docker-files/Dockerfile
+++ b/deliveries/src/main/docker/docker-files/Dockerfile
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get install -y \
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 d2c4e4b2..508867a7 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 @@ services:
- "8080:8080"
links:
- vid-mariadb:vid-mariadb-docker-instance
- environment:
- - JVM_OPTS=-Xmx1536m -Xms1536m
vid-mariadb:
image: mariadb:10.1.11
ports: