add 适配 docker 部署方式
parent
e01e64881b
commit
44ac1c23a3
@ -0,0 +1,15 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/auth
|
||||
RUN mkdir -p /ruoyi/auth/logs
|
||||
RUN mkdir -p /ruoyi/auth/temp
|
||||
|
||||
WORKDIR /ruoyi/auth
|
||||
|
||||
EXPOSE 9200
|
||||
|
||||
ADD ./target/ruoyi-auth.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,15 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/gateway
|
||||
RUN mkdir -p /ruoyi/gateway/logs
|
||||
RUN mkdir -p /ruoyi/gateway/temp
|
||||
|
||||
WORKDIR /ruoyi/gateway
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ADD ./target/ruoyi-gateway.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,14 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/gen
|
||||
RUN mkdir -p /ruoyi/gen/logs
|
||||
|
||||
WORKDIR /ruoyi/gen
|
||||
|
||||
EXPOSE 9202
|
||||
|
||||
ADD ./target/ruoyi-gen.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,15 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/resource
|
||||
RUN mkdir -p /ruoyi/resource/logs
|
||||
RUN mkdir -p /ruoyi/resource/temp
|
||||
|
||||
WORKDIR /ruoyi/resource
|
||||
|
||||
EXPOSE 9300
|
||||
|
||||
ADD ./target/ruoyi-resource.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,15 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/system
|
||||
RUN mkdir -p /ruoyi/system/logs
|
||||
RUN mkdir -p /ruoyi/system/temp
|
||||
|
||||
WORKDIR /ruoyi/system
|
||||
|
||||
EXPOSE 9201
|
||||
|
||||
ADD ./target/ruoyi-system.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,14 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/doc
|
||||
RUN mkdir -p /ruoyi/doc/logs
|
||||
|
||||
WORKDIR /ruoyi/doc
|
||||
|
||||
EXPOSE 18000
|
||||
|
||||
ADD ./target/ruoyi-doc.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
@ -0,0 +1,14 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/monitor
|
||||
RUN mkdir -p /ruoyi/monitor/logs
|
||||
|
||||
WORKDIR /ruoyi/monitor
|
||||
|
||||
EXPOSE 9100
|
||||
|
||||
ADD ./target/ruoyi-monitor.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
Loading…
Reference in New Issue