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 | 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