|
|
|
@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/seata-server/logs \
|
|
|
|
|
|
|
|
|
|
WORKDIR /ruoyi/seata-server
|
|
|
|
|
|
|
|
|
|
ENV TZ=PRC LANG=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
|
|
ENV TZ=PRC LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS=""
|
|
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
|
|
|
|
|
|
EXPOSE 7091
|
|
|
|
@ -16,10 +16,9 @@ EXPOSE 8091
|
|
|
|
|
|
|
|
|
|
ADD ./target/ruoyi-seata-server.jar ./app.jar
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["java", \
|
|
|
|
|
"-Djava.security.egd=file:/dev/./urandom", \
|
|
|
|
|
# "-Dskywalking.agent.service_name=ruoyi-seata-server", \
|
|
|
|
|
# "-Dskywalking.plugin.seata.server=true", \
|
|
|
|
|
# "-javaagent:/ruoyi/skywalking/agent/skywalking-agent.jar", \
|
|
|
|
|
"-jar", "app.jar",
|
|
|
|
|
"-XX:+HeapDumpOnOutOfMemoryError", "-Xlog:gc*,:time,tags,level", "-XX:+UseZGC"]
|
|
|
|
|
ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom \
|
|
|
|
|
#-Dskywalking.agent.service_name=ruoyi-seata-server", \
|
|
|
|
|
#-Dskywalking.plugin.seata.server=true", \
|
|
|
|
|
#-javaagent:/ruoyi/skywalking/agent/skywalking-agent.jar", \
|
|
|
|
|
-jar app.jar \
|
|
|
|
|
-XX:+HeapDumpOnOutOfMemoryError -Xlog:gc*,:time,tags,level -XX:+UseZGC ${JAVA_OPTS}
|
|
|
|
|