diff --git a/jeecg-boot/jeecg-cloud-module/docker-compose.yml b/jeecg-boot/jeecg-cloud-module/docker-compose.yml index 18896067e392ff6bb19191801fb26db1ee2dbc14..c098e751c30f3b673e7ecbc36d632095e1902727 100644 --- a/jeecg-boot/jeecg-cloud-module/docker-compose.yml +++ b/jeecg-boot/jeecg-cloud-module/docker-compose.yml @@ -67,4 +67,10 @@ services: environment: - TZ=Asia/Shanghai - + jeecg-boot-xxljob: + build: + context: ./jeecg-cloud-xxljob + ports: + - 9080:9080 + container_name: jeecg-boot-xxljob + hostname: jeecg-boot-xxljob \ No newline at end of file diff --git a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/Dockerfile b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..78ca141beebefc496c18cdc5c68403592119f74a --- /dev/null +++ b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/Dockerfile @@ -0,0 +1,15 @@ +FROM anapsix/alpine-java:8_server-jre_unlimited + +MAINTAINER jeecgos@163.com + +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime + +RUN mkdir -p /jeecg-cloud-gateway + +WORKDIR /jeecg-cloud-gateway + +EXPOSE 9999 + +ADD ./target/jeecg-cloud-gateway-2.4.2.jar ./ + +CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-gateway-2.4.2.jar \ No newline at end of file diff --git a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/Dockerfile b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..2878a54001877f43a6b4ddf54a505e5998694f98 --- /dev/null +++ b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/Dockerfile @@ -0,0 +1,16 @@ +FROM anapsix/alpine-java:8_server-jre_unlimited + +MAINTAINER jeecgos@163.com + +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime + +RUN mkdir -p /jeecg-cloud-xxljob + +WORKDIR /jeecg-cloud-xxljob + +EXPOSE 9080 + +ADD ./target/jeecg-cloud-xxljob-2.4.2.jar ./ + +CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-xxljob-2.4.2.jar + diff --git a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml index 69c08a74bca930494f0a9a3d6572e0aa2acc4488..f54edc98d93bc3e70fe2b981615cf335c93de819 100644 --- a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml +++ b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml @@ -60,4 +60,28 @@ ${xxl-job-core.version} + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + package + + repackage + + + + + true + com.xxl.job.admin.XxlJobAdminApplication + + + + + \ No newline at end of file