diff --git a/docker/Dockerfile_Process b/docker/Dockerfile_Process index 065d88cb..0da258bb 100644 --- a/docker/Dockerfile_Process +++ b/docker/Dockerfile_Process @@ -9,9 +9,6 @@ ARG LicenseKey ARG BranchName=master -# Set -Xms and -Xmx -# ENV JVM_MEMORY_OPTIONS="-Xms1g -Xmx4g" - #Running update and install makes the builder not to use cache which resolves some updates RUN apt-get update && apt-get install -y curl wget iproute2 cron logrotate @@ -33,7 +30,9 @@ RUN cd /home \ exit 1; \ fi -# Options +# +# Options: +# # -g: Use global(Public) IP in network communication. Its value can be true or false. Default value is false. # # -s: Use Public IP as server name. Its value can be true or false. Default value is false. @@ -57,5 +56,18 @@ RUN cd /home \ # -n: TURN Server Usermame: Provide the TURN server username to get relay candidates. # # -w: TURN Server Password: Provide the TURN server password to get relay candidates. +# +# -k: Kafka Address: Provide the Kafka URL address to collect data. (It must contain the port number. Example: localhost:9092) +# +# -j: JVM Memory Options(-Xms1g -Xmx4g): Set the Java heap size. Default value is "-Xms1g". Example usage: ./start.sh -j "-Xms1g -Xmx4g" +# +# -c: CPU Limit: Set the CPU limit percentage that server does not exceed. Default value is 75. +# If CPU is more than this value, server reports highResourceUsage and does not allow publish or play. +# Example usage: ./start.sh -c 60 +# +# -e: Memory Limit: Set the Memory Limit percentage that server does not exceed. Default value is 75 +# If Memory usage is more than this value, server reports highResourceUsage and does not allow publish or play +# Example usage: ./start.sh -e 60 + ENTRYPOINT ["/usr/local/antmedia/start.sh"]