Jelajahi Sumber

Run update.sh

Docker Library Bot 7 tahun lalu
induk
melakukan
992228fe83
1 mengubah file dengan 12 tambahan dan 2 penghapusan
  1. 12 2
      convertigo/README.md

+ 12 - 2
convertigo/README.md

@@ -149,10 +149,20 @@ $ docker run -d --name C8O-MBAAS -e CONVERTIGO_TESTPLATFORM_USER=tp_user -e CONV
 
 Convertigo is based on a *Java* process with some defaults *JVM* options. You can override our defaults *JVM* options with you own.
 
-Add any *Java JVM* options such as -Xmx or -D[something]
+Add any *Java JVM* options such as -D[something] :
 
 ```console
-$ docker run -d --name C8O-MBAAS -e JAVA_OPTS="-Xmx4096m -DjvmRoute=server1" -p 28080:28080 convertigo
+$ docker run -d --name C8O-MBAAS -e JAVA_OPTS="-DjvmRoute=server1" -p 28080:28080 convertigo
+```
+
+## `JXMX` Environment variable
+
+Convertigo tries to allocate this amount of memory in the container and will automatically reduce it until the value is compatible for the Docker memory constraints. Once the best value found, it is used as `-Xmx=${JXMX}m` parameter for the JVM.
+
+The default `JXMX` value is `2048` and can be defined :
+
+```console
+$ docker run -d --name C8O-MBAAS -e JXMX="4096" -p 28080:28080 convertigo
 ```
 
 ## Pre configurated Docker compose stack