Skip to content

Commit

Permalink
Update options comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Feb 26, 2024
1 parent 257a6d7 commit d85a451
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docker/Dockerfile_Process
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand All @@ -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"]

0 comments on commit d85a451

Please sign in to comment.