3
0

2 Revīzijas dea502314a ... f3ee08b3a9

Autors SHA1 Ziņojums Datums
  LT32820A f3ee08b3a9 Merge remote-tracking branch 'origin/dev' into dev 2 mēneši atpakaļ
  LT32820A dd64100ccc 924 JFlow 微服务docker文件修改 2 mēneši atpakaļ

+ 4 - 4
jeecg-boot/jeecg-server-cloud/jflow-cloud-start/Dockerfile

@@ -1,4 +1,4 @@
-FROM anapsix/alpine-java:8_server-jre_unlimited
+FROM registry.cn-hangzhou.aliyuncs.com/jeecgdocker/alpine-java:8_server-jre_unlimited
 
 MAINTAINER jeecgos@163.com
 
@@ -8,8 +8,8 @@ RUN mkdir -p /jflow-cloud-start
 
 WORKDIR /jflow-cloud-start
 
-EXPOSE 7002
+EXPOSE 7100
 
-ADD ./target/jflow-cloud-start-3.6.2.jar ./
+ADD ./target/jflow-cloud-start-1.0.0.jar ./
 
-CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jflow-cloud-start-3.6.2.jar
+CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jflow-cloud-start-1.0.0.jar

+ 44 - 0
jeecg-boot/jeecg-server-cloud/jflow-cloud-start/docker-compose.yml

@@ -0,0 +1,44 @@
+version: '2'
+services:
+  jflow-cloud-start:
+    depends_on:
+      - jeecg-boot-nacos
+    build:
+      context: .
+    container_name: jflow-cloud-start
+    hostname: jeecg-boot-jflow
+    restart: on-failure
+    environment:
+      - TZ=Asia/Shanghai
+    networks:
+      - jeecg-boot
+
+#  jeecg-boot-sentinel:
+#    restart: on-failure
+#    build:
+#      context: ./jeecg-visual/jeecg-cloud-sentinel
+#    ports:
+#      - 9000:9000
+#    depends_on:
+#      - jeecg-boot-nacos
+#      - jeecg-boot-demo
+#      - jeecg-boot-system
+#      - jeecg-boot-gateway
+#    container_name: jeecg-boot-sentinel
+#    hostname: jeecg-boot-sentinel
+#    networks:
+#      - jeecg-boot
+#  jeecg-boot-xxljob:
+#    build:
+#      context: ./jeecg-visual/jeecg-cloud-xxljob
+#    ports:
+#      - 9080:9080
+#    container_name: jeecg-boot-xxljob
+#    hostname: jeecg-boot-xxljob
+#    networks:
+#      - jeecg-boot
+networks:
+  jeecg-boot:
+    name: jeecg_boot
+
+

+ 1 - 0
jeecg-boot/jeecg-server-cloud/jflow-cloud-start/pom.xml

@@ -11,6 +11,7 @@
 
     <artifactId>jflow-cloud-start</artifactId>
     <description>jflow微服务启动</description>
+    <version>1.0.0</version>
 
     <dependencies>
         <!--引入微服务启动依赖 starter-->