From 798ab07db6464f24e353dcdf8397506ab246c91d Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 13 Jul 2022 09:45:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 docker-compose.yml |   30 +++++++++++++-----------------
 1 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 790cf49..5c2ae21 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,24 +1,20 @@
 version: '3.1'
 services:
   zhbaw:
-    image: 192.168.0.191/zhbaw/zhbaw:SNAPSHOT-$BUILD_NUMBER
-    container_name: zhbaw
-    deploy:
-      replicas: 1
-      update_config:
-        parallelism: 2
-        delay: 30s
-    depends_on:
-      - redis
+    # 从 Harbor 私有仓库拉取镜像
+#    image: 192.168.0.191/zhbaw/zhbaw:SNAPSHOT-$BUILD_NUMBER
+    image: zhbaw:latest
     ports:
       - "81:81"
+    volumes:
+      - /home/zhongsong/anbao/:/home/zhongsong/anbao/
     # 容器停止后会重启
     restart: always
-  redis:
-    image: "redis:alpine"
-    container_name: reids-alpine
-    deploy:
-      replicas: 1
-    ports:
-      - "6379:6379"
-    restart: always
+#    depends_on:
+#      - redis
+#  redis:
+#    image: "redis:alpine"
+#    ports:
+#      - "6381:6379"
+#    restart: always
+

--
Gitblit v1.9.3