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 | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/docker-compose.yml b/docker-compose.yml
index 8b1c5fd..5c2ae21 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,25 +4,17 @@
# 从 Harbor 私有仓库拉取镜像
# image: 192.168.0.191/zhbaw/zhbaw:SNAPSHOT-$BUILD_NUMBER
image: zhbaw:latest
- container_name: zhbaw
-# deploy:
-# replicas: 1
-# update_config:
-# parallelism: 2
-# delay: 30s
-# depends_on:
-# - redis
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"
-# container_name: reids-alpine
-# deploy:
-# replicas: 1
# ports:
-# - "6379:6379"
+# - "6381:6379"
# restart: always
+
--
Gitblit v1.9.3