|
@@ -7,7 +7,7 @@ ENV CATALINA_HOME="/opt/tomcat8"
|
|
|
ENV PATH=$CATALINA_HOME/bin:$PATH \
|
|
|
CATALINA_OPTS="-Dconfig.file=/etc/web-infoclinic/application.conf" \
|
|
|
JAVA_HOME=/usr/java/default \
|
|
|
- JAVA_OPTS="-Xms512M -Xmx1024M -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true" \
|
|
|
+ JAVA_OPTS="-Xms512M -Xmx1024M -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true -XX:+ExitOnOutOfMemoryError" \
|
|
|
WORKDIR=$CATALINA_HOME \
|
|
|
DB_CLUSTER=mongodb
|
|
|
EXPOSE 8080 8009 2551
|