diff options
-rwxr-xr-x | deliveries/src/main/docker/docker-files/Dockerfile | 1 | ||||
-rwxr-xr-x | deliveries/src/main/docker/docker-files/docker-compose.yml | 2 |
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:
|