mirror of
https://gitee.com/nicefold/seewis-cloud-plus.git
synced 2026-10-14 03:52:27 +08:00
Rename Maven modules and directories to seewis-* while preserving Java package paths. Allow Nacos and Logstash settings from environment variables or Maven -D overrides, and include the existing agent documentation updates.
27 lines
850 B
Docker
27 lines
850 B
Docker
# 贝尔实验室 Spring 官方推荐镜像 JDK下载地址 https://bell-sw.com/pages/downloads/
|
|
FROM bellsoft/liberica-openjdk-rocky:21.0.12-cds
|
|
# FROM bellsoft/liberica-openjdk-rocky:25.0.4-cds
|
|
# FROM findepi/graalvm:java21-native
|
|
|
|
LABEL maintainer="Lion Li"
|
|
|
|
RUN mkdir -p /ruoyi/gateway/logs \
|
|
/ruoyi/gateway/temp \
|
|
/ruoyi/skywalking/agent
|
|
|
|
WORKDIR /ruoyi/gateway
|
|
|
|
ENV SERVER_PORT=8080 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS=""
|
|
|
|
EXPOSE ${SERVER_PORT}
|
|
|
|
ADD ./target/seewis-gateway-mvc.jar ./app.jar
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom -Dserver.port=${SERVER_PORT} \
|
|
#-Dskywalking.agent.service_name=seewis-gateway \
|
|
#-javaagent:/ruoyi/skywalking/agent/skywalking-agent.jar \
|
|
-XX:+HeapDumpOnOutOfMemoryError -XX:+UseZGC ${JAVA_OPTS} \
|
|
-jar app.jar
|