From 8b375fe00a241b3a769b82fe3dac8d1c9dce8a02 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 16 Jun 2022 14:36:07 +0800
Subject: [PATCH] 模拟考试修改

---
 docker-compose.yml |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 74c90f4..5c2ae21 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,10 +4,17 @@
     # 从 Harbor 私有仓库拉取镜像
 #    image: 192.168.0.191/zhbaw/zhbaw:SNAPSHOT-$BUILD_NUMBER
     image: zhbaw:latest
-    container_name: zhbaw
     ports:
       - "81:81"
     volumes:
-      - /home/zhongsong/anbao:/home/zhbaw/anbao
+      - /home/zhongsong/anbao/:/home/zhongsong/anbao/
     # 容器停止后会重启
     restart: always
+#    depends_on:
+#      - redis
+#  redis:
+#    image: "redis:alpine"
+#    ports:
+#      - "6381:6379"
+#    restart: always
+

--
Gitblit v1.9.3